Hey ya'll... Love learning Prototype so far... ran into a small
problem today, from my google search it doesn't seem like there is an
easy way to do this... 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 you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---