[latex]Mae govannen![/latex]
ist es möglich, z.B. bei dem Link
<a href="#demo" onclick="loadFunction();">Link</a>
in der Function den angeklickten Anker (also hier demo) auszulesen?
<a href="#demo" onclick="loadFunction(this);">Link</a>
function loadFunction(obj) {
alert(obj.href);
}
Cü,
Kai
--
Ash nazg durbatulûk, ash nazg gimbatul,ash nazg thrakatulûk, agh burzum-ishi krimpatul
Sacrifice - the future has it's price
And today is only yesterday's tomorrow
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?
Ash nazg durbatulûk, ash nazg gimbatul,ash nazg thrakatulûk, agh burzum-ishi krimpatul
Sacrifice - the future has it's price
And today is only yesterday's tomorrow
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?