Hi folks. Another Prototype question.
I have a simple ajax form which I want to return results on
an
onChange. Works in IE6 (Win) and FF, but Safari doesn't
seem to take
the onChange too well. Upon the return key, it blanks out
the form.
Upon tabbing to the next field (actually the next form), I
get the
results.
<form name="form1" id="form1"
action="#" method="post"
onSubmit="return
false;">
<input class="formentry" type="text"
id="x_hotel" size="20"
value=""
onChange="getNames(this.form)" />
</form>
I've tried taking out the onSubmit altogether, as well as
tried
onSubmit="", but neither seems to work as it just
clears out the form
with zero results.
Any ideas?
Cheers
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|