search for: datepickercontrol

Displaying 2 results from an estimated 2 matches for "datepickercontrol".

Did you mean: datepickercontroler
2010 Feb 23
1
how a js script can get the current locale from my rails app ?
...fer the rails app current locale .. I have a JS script able to detect the default browser language .. running fine I can also modify the JS language, passing a global var .. // Create a JSON Object var myJSON = { "lang": "fr" }; // Pass it to the script immediately... datePickerController.setGlobalVars(myJSON); and it runs ... but I would like this script to use the language selected by the rails app user : the I18n.default_locale being modified in the rails app any clue ? thanks a lot .. erwin -- You received this message because you are subscribed to the Google Groups &...
2006 Jul 26
8
change text_field_tag class
in my booking / _form I have the following input fields : (startdate and endate) <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"} ) %> <%= observe_field("startdate",