Displaying 2 results from an estimated 2 matches for "datefield1".
Did you mean:
datefield
2006 Aug 01
6
Newbie: How to use text_field with Java Script
<input type="text" name="date1" id="dateField1"
onchange="magicDate(''dateField1'');" onfocus="if (this.className !=
''error'') this.select()" />
How could I generate above text filed using ruby?
I am not sure how to give the options such as onchange, onfocus, id and
so on?
could...
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
...e selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%= date_box(@dateField1)
which then requires you to trap on these fields during the update/create
actions of the controller. This didn''t seem correct. I wanted multiple
dates on a page and I wanted an easy way to get the calendar to popup.
Here is what I wanted...