Hi there,

Just flagging a problem with ProtoType and IE6, whereby onChange
events are not caught by Event.observe.

I'm assuming it's the same problem flagged here:
http://snipurl.com/1q18m

Just a simple test:

<form method="post" ID="TheForm" name="TheForm" action="">
<input type="text" name="test" size="53" maxlength="200"
class="InputText">
</form>

<script laguage="javascript" type="text/javascript">
Event.observe(document.TheForm, 'change', function(event) {
alert('hi')
});
</script>

Does not work at all in IE6, where it works fine in FireFox.

This example works fine in both:
<form method="post" ID="TheForm" name="TheForm" action="">
<input type="text" name="test" size="53" maxlength="200"
class="InputText" onChange="alert('hi');">
</form>

So the problem is not with IE6 not firing onChange.
Prototype just doesn't seem to catch it.

I've tried many permutations, and the problem also seems to exist with
onBlur.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to