Ruby on Rails Monday, August 29, 2011



On Tue, Aug 30, 2011 at 12:02 AM, Angelo Cordova <acordinz@gmail.com> wrote:
Hi people

I have a problem with the Jquery "Datepicker".

you should ask in a jquery group/forum
 

If I use datepicker in a simple-form, I have no problem... but I need
to use it in a nested form that add fields dynamically, and everytime
I add new fields I have a field that needs to use datepicker.

try calling the datepicker method on the field everytime you add it.  if you're
storing the field in a variable, then just call variable.datepicker() after you add
the field to the page.
 

I've reading the web, and many people have the same problem, but
nobody get a solution for this issue

Could you help me??

--
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.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment