daffy_dowden
04-10-2006, 05:23 PM
Is there a way to change just the onClick action via the dom or do you have to change the entire element like:
createElement("<a href='#' onClick=\"methodName(" + action + ")\">text</a>");
Cheers, :thumbsup:
Daf
createElement("<a href='#' onClick=\"methodName(" + action + ")\">text</a>");
Cheers, :thumbsup:
Daf