(e-mail address removed) said the following on 6/12/2006 11:28 AM:
Thanks for quoting what you are replying to next time.
If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
what I am doing is
// a is a link object
AddEventHandler(a, "click", specialExecution);
function specialExecution()
{
// if I alert(this); it shows [object]
That is because 'this' refers to the the current function which is an
[object], you don't need a reference to the function, you want a
reference to the link and the link will have to give the 'this' reference.
// but if I do the following
var url = this.href;
// it is undefined
That is because the function doesn't have an href property although you
could give it one. And since it doesn't exist, it is undefined.
Is AddEventHandler from Prototype.js?