6 Mar
2005
6 Mar
'05
5:56 p.m.
Gordon Heydon <gordon@heydon.com.au> Sun, 6 Mar 2005 23:44:16
Basically you use getElementByID or any of the other locater's, and then do something like this.
obj.onclick = function () { alert('onclick'); };
Hmmm. In Firefox, but not apparently in IE6. -- Julian Bond Email&MSM: julian.bond at voidstar.com Webmaster: http://www.ecademy.com/ Personal WebLog: http://www.voidstar.com/ M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433 S: callto://julian.bond/