Tom,
for your example it would be addEventListener("makeSugList",doSugList); ??Tom Chiverton wrote:
On Friday 25 May 2007, Christopher Olsen wrote:What I'm trying to do is put a link or something inside of a text are so when it's clicked it calls a functionsIf you put a HTML-type link like <a href='event:makeSugList'>...</a>Then attach an event listener for the 'link' event, then event.text holds the contents of the link's HREF.

