How to send other params with rails3-jquery-autocomplete

I want to send other params i.e hidden field values in
get_autocomplete_items(parameters)

and I tried

 = rec.autocomplete_field :name,

autocomplete_recruiter_name_job_applications_path,
:placeholder=>“Recruiter name”,:id_element=>"#phone", :param_name =>
‘search’

But ajax request is sending by same params not adding my other params

GET

http://localhost:3000/job_applications/autocomplete_recruiter_name?term=test

I want url something like that

GET

http://localhost:3000/job_applications/autocomplete_recruiter_name?term=test&search=series

so that I can access hidden field value in

def get_autocomplete_items(parameters)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs