Hey,

We are using http://docs.jquery.com/UI/Datepicker in our project and
so far had no problems with it. Basically it attaches itself onto a
textfield, and everything works very easy.

cheers
snusnu

On Fri, Apr 17, 2009 at 20:07, cool <[email protected]> wrote:
>
> Guys,
>
>  I am using dynamic text fields in my view, and i need date picker
> for all the text fields, how can i do that. i am struck with this
> issue yaar. please help me
>
> <div id="test">
>     <li>
>          <%= text_field  :name => "assignment_1[name][]", :class =>
> "short" %>
>        <%= text_field  :name => "assignment_1[date][]",  :id =>
> "assignment_date1", :class => "short apart" %>
>          <%= text_field  :name => "assignment_1[max_point][]", :class
> => "short apart" %>
>          <span class="subText">(Required)</span>
>     </li>
>     <li>
>         <%= text_field  :name => "assignment_2[name][]", :class =>
> "short" %>
>         <%= text_field  :name => "assignment_2[date][]", :id =>
> "assignment_date2", :class => "short apart" %>
>         <%= text_field  :name => "assignment_2[max_point][]", :class
> => "short apart" %>
>         <a href="#"  class="delete-btn"
> onclick="this.parentNode.parentNode.removeChild(this.parentNode);"></
> a>
>     </li>
>
> </div>
>
> i have a link called add more,  if click that i am cloning entire div
> so am getting lots of text fields.
> I need a date picker for assignment_1[date][]" like  that.
> How can i do that..
>
> please help me
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to