hi i am new to ruby and i have one text box for search by the string in the text box insted of that i am trying to implement a drop down list,with the selected item in the drop down it should search. problem hear is that the search is not going by the item please help me The code is: <input type="text" name="query" value="<%= h @query %>" /></h4> insted of this i tryied <%= select_tag ''category'',options_for_select([[''ALL RESIDENTIAL''], [''ALL COMMERCIAL''], [''Commercial Land''], [''Industrial Building''], [''Industrial Shed''], [''Farm House'']], to_s), :onchange => "content.category(this,notnull ) ;" %> please help me.... Thank you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---