Displaying 3 results from an estimated 3 matches for "magicdate".
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 some one please help.
--
Post...
2006 Jun 14
2
Date as INPUT not Selects
Greetings!
Can anyone tell me how to use just a normal input field as a date
entry? I can use a text_field tag, but that brings the date out in
CCYY-MM-DD format. I would like to be able to simply key in my dates
like mm/dd/ccyy format.
Thanks,
Jeremy
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
...;>
<ul>
<li>#{engine_image(''icon-help.gif'', :engine => ''datebox'', :alt =>
''Help'', :id => calendar_ref + ''Help'' ) }</li>
<li>#{text_field object_name, method, { :onChange =>
"magicDate(id);", :onFocus => "if (this.className != ''error'')
this.select()"} }</li>
<li>#{engine_image(''icon-calendar.gif'', :engine => ''datebox'', :alt =>
''Calendar'', :id => calendar_ref + '&...