Hi,
me again - I ran into troubles when trying and getting onkeyup-events working
with IE6.
What I do is this:
--------------
function print_event(event) {
s = '';
for(var p in event) {
s += p + "=" + event[p] + " ::::: ";
}
alert(s);
};
function test() {
var form = currentDocument().forms['testform'];
var f = form.elements['testfield'];
MochiKit.Signal.connect(f, 'onkeyup', print_event);
};
MochiKit.Signal.connect(window, 'onload', test);
------------------
The form is simple and straightforward:
<form name="testform">
<input type="test" name="testfield"/>
</form>
Now in FF, I get a nice event printed. In IE, things look entirely different,
I get the attached screenshot as a result.
Any suggestions?
Diez
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---
