Rajinder Yadav wrote: > Rajinder Yadav wrote: >> <%= javascript_include_tag :defaults %> >> <%= f.label :bday %> <%= calendar_date_select_tag "e_date" %> <br/> >> <%= f.date_select :bday %> >> </p> >> >> Now when I stop/stop Webrick and refresh my page I get the following >> error dialog box >> >> "CalendarDateSelect Error: prototype could not be found...." >> >> What prototype as I missing and where should it be added?
Probably the prototype.js library itself. It's included with Rails, but you have to make sure the generated page brings it in with an appropriate <script> tag. > > OK never mind, it mysteriously started to work now? I'll play around > with it a bit more. > >>>> >>>> 47: <%= f.label :bday %><br /> >>>> Rajinder Yadav |http://DevMentor.org| Do Good! - Share Freely >>> >> > > > -- > Kind Regards, > Rajinder Yadav | http://DevMentor.org | Do Good! - Share Freely Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.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 [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.

