search for: hasdatepicker

Displaying 1 result from an estimated 1 matches for "hasdatepicker".

2012 May 10
1
getting started with jQuery rails 3.2
...2.0.0''. In my application.js (app/assets/javascripts) I''ve added the line //= require jquery-ui I now want to have a datepicker in one of my forms, looking at the jQueryUI website (http://jqueryui.com/demos/datepicker/) I can see that the class of the text-field has to be "hasDatepicker", and the id "datepicker" I''ve done this in my view like this <%= f.text_field :game_start_time, :class => :hasDatepicker, :id => :datepicker %> and also to test like this <input type= "text" class="hasDatepicker" id="datepicker&q...