On 31 March 2010 06:43, Hemant Bhargava <[email protected]> wrote:
> While using calendar_date_select, it appers like this .. i mean usage of
> this gem..
>
> <%= calendar_date_select :abc, :def, :year_range =>
> 1.years.ago..1.years.since %>, it come like this
>
> TEXT_BOX(nameabc[def]) Button
>
> After clicking on button a calendar popups and whatever date i select
> comes in the text box.. So in web page i am doing it like this only but
> how should i do this in javascript.. I am little bit confused..

I have not used calendar_date_select but I imagine it is already using
javascript to do the popup.  Have a look at the html of your page and
see what is there.  (View, Page Source or similar in browser).

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to