[Rails] How mix jquery based ui packages and ruby on rails
I am trying to use jqx ui that is based on jquqery I have following questions
1. How do I generate the right id and name for the element without setting the element name and id in the format model name [attribute] ? Example <%= f.text_field :country_id %> generates
sets the element id and name to bank[country_id]
2.how do i set the form element attributes like action ? Do i just use form_tag to generate the form?
Thanks Anant
-- 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/jDIVDrIkDKwJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home