D
dunerunner
Hi,
I have a situation where I have a button with an onclick event
containing a function and I need to append a function to that event.
For example, I have:
<button id="btn" onclick="func1(param);">The Button</button>
When the user clicks another button, I want to essentially have the
button above look like:
<button id="btn" onclick="func1(param);func2(param);">The Button</
button>
Is this possible? If so, can I get some guidance, please?
Thanks,
Tim
I have a situation where I have a button with an onclick event
containing a function and I need to append a function to that event.
For example, I have:
<button id="btn" onclick="func1(param);">The Button</button>
When the user clicks another button, I want to essentially have the
button above look like:
<button id="btn" onclick="func1(param);func2(param);">The Button</
button>
Is this possible? If so, can I get some guidance, please?
Thanks,
Tim