[Project_owners] Events

HJ bugs4hj at netscape.net
Sun Oct 10 20:05:05 EDT 2004


Hi,

I wonder if it is possible to do something like this:

aEvent = document.createEvent('Events');
aEvent.initEvent("[event type]", true, false);
aEvent.something = "[something here]"; <==
document.dispatchEvent(aEvent);

so that I can use:
if (aEvent.something == "[something here]")
   ...

It doesn't work, so I guess not, but I might do something wrong.

Thanks,
/HJ


More information about the Project_owners mailing list