158
rated 0 times
[
159]
[
1]
/ answers: 1 / hits: 30784
/ 9 Years ago, fri, september 4, 2015, 12:00:00
Can I call JavaScript function with return confirm();
in HTML onclick event or do I need to do function which contains confirmation and call to another function?
<button onclick=return confirm('Are you sure?'); saveandsubmit(event);></button>
Thanks in advance.
More From » html