Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

attachEvent (Moz. equivalent) ? 1

Status
Not open for further replies.

stormbind

Technical User
Joined
Mar 6, 2003
Messages
1,165
Location
GB
Is there an equivalent for obj.attachEvent('event',function); in JavaScript?

----------
I'm willing to trade custom scripts for... [see profile]
 

>> Is there an equivalent for obj.attachEvent('event',function); in JavaScript?

obj.attachEvent is JavaScript.

Dan
 
I was making the distinction between (Microsoft) JScript and (Netscape/Mozilla) JavaScript ... and I cannot get attachEvent to work in JavaScript, thus I assume it's JScript only.

Thanks for the link. That does look promising :)

----------
I'm willing to trade custom scripts for... [see profile]
 
Doh. No good. You get a star anyway :)

I need event + srcElement to be passed and the DOM-compliant solution won't do that within the limitations of Mozilla.

----------
I'm willing to trade custom scripts for... [see profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top