Displaying 2 results from an estimated 2 matches for "a_field_id".
Did you mean:
my_field_id
2008 May 07
1
Change Focus of Radio Button
...s... i hope i have assumed wrong!
I need to change the focus of a radio button... I currently use this
code to call focus to the first form element... i tried to reuse it to
do radio buttons with no success
------------------------------------------------------------------------
function setfocus(a_field_id) {
$(a_field_id).focus()
}
window.onload=function() {
setfocus(''email'')
}
------------------------------------------------------------------------
any help would be appreciated
Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because...
2006 Jun 26
3
syntax for observe_field( :with =>
Greetings!
What is up with the syntax of this thing? I mean, if the only thing I can send back using :with is the field being observed, then why in the world is the syntax so convoluted? For example, what I''ve been able to get working is:
<%= text_field_tag(''date'', illness_date, :size => 30) %></p>
<%= observe_field(''date'', :url