I have a jquery function that is looking for the form’s id element on my page, but my form_for @model is giving me an id I don’t think I can use.
Is there an alternative to using the form id, to select the it for my jquery function?
I have a jquery function that is looking for the form’s id element on my page, but my form_for @model is giving me an id I don’t think I can use.
Is there an alternative to using the form id, to select the it for my jquery function?
Have you tried passing the :id option to the form builder? You can make it whatever you like that way.
Walter
thanks, I’ll try that.