T
Timo
I've noticed that this is possible in IE:
<span class='sweetfeature' myproperty='Napoleon Dynamite'
onclick="ShowProperty(this);" >
Click here for the name of a hilarious movie.
</span>
and then in a script:
function ShowProperty(e) {
alert(e.myproperty);
// or
// alert(e['myproperty']);
}
Is there a counterpart functionality in Firefox, NS, and Opera, or is this a
proprietary MSFT feature that the other browser vendors do not support?
Thanks
TR
<span class='sweetfeature' myproperty='Napoleon Dynamite'
onclick="ShowProperty(this);" >
Click here for the name of a hilarious movie.
</span>
and then in a script:
function ShowProperty(e) {
alert(e.myproperty);
// or
// alert(e['myproperty']);
}
Is there a counterpart functionality in Firefox, NS, and Opera, or is this a
proprietary MSFT feature that the other browser vendors do not support?
Thanks
TR