Subscribe to
Posts [Atom]


internet explorer fix for setting javascript dom button onlick method

Monday, October 09, 2006

setting the javascript dom button onlick method doesn't work in inter net explorer

the solution is to set the elements onclick to a function and carrry out the function
from the set function

for example

element.onclick = linkClick;

function linkClick(){

someFunction();
}

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home