<a name="form226phone_different_from_input_id"></a>
and I bet it works.
-Jerod
On 3/7/06, Bill Moseley <
[EMAIL PROTECTED]> wrote:
See if I can stir up a little life with a demo. I can't believe that
Ajax.Autocomplete doesn't work on IE, so I *must* be doing something
wrong.
Trying to figure this out I added some alerts to control.js and it
seems that IE is not getting the onkeypress events.
So, here's a demo:
http://hank.org/demos/form.html
That contains two fields with onkeypress events:
<input name="email" type="text" id="form226email" alert('key pressed')" />
and
<input value="" name="phone" type="text" id="form226phone" />
<script>
Event.observe("form226phone", 'keypress', function(){ alert('keypress') } );
</script>
Both work in Firefox. IE 6.0.2 Win95 only the Email field shows the
alert.
I added the "Click Me!" from the exmaple, and that does work in IE.
So, what's up?
--
Bill Moseley
[EMAIL PROTECTED]
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs