I notice now in 1.3 that the bindWithEvent as been depreciated.  How do you
bind to an even then?

 

For example, if i add a click event to an <a> element and i need to bind it,
how do you pass the event back in to stop the event?

 

In the past i have done something like...

 

 

Link.addEvent("click", function (ev, args) {

                ev.stop();

                }.bind(this, "foo")

);

 

 

But now that does not work

 

Any suggestions?

 

Steve





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16860)
http://www.pctools.com/
=======

Reply via email to