Events
like keydown/mouseclick/submit/change are only fired when the USER makes a
change. Not when a script does. It isn’t a prototype bug.
-Andrew Martinez
-----Original
Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Francisco Calderon
Sent: Thursday, May 18, 2006 3:10
PM
To:
[email protected]
Subject: [Rails-spinoffs]
Event.observe problem
Hello there,
i have a textbox, i fill the textbox with a date from a _javascript_ popup
calendar, im using the like this
Event.observe('myTextBoxId', 'change', function(){ alert('epale!');});
and is not working, if i put the alert inside the input element in the onchange
attribute it works, is that a prototype bug?
--
//
// Ing. Francisco J. Calderón S.
// [EMAIL PROTECTED]
// Usuario de GNU/Linux nº 349529
// Maracay, Venezuela
//
|
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs