I've tried this:
var elmLink = document.getElementById('MyFieldName');
elmLink.addEventListener("click", sayhello('world'), true);
but it seems to execute only when the page is loaded, not when I click on
the field. I've tried other actions such as 'mousemove', 'change', etc.,
but nothing works. Help!
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/greasemonkey-users/-/-fc1MDcHqmwJ.
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/greasemonkey-users?hl=en.