Last post Jan 18, 2017 01:07 PM by rashmi.padia
Dec 07, 2016 09:27 AM|Lexi85|LINK
now on clicking a button I want this function init() to disappear I man is there any way I can just undo this function init() on button click...what ever happens after page is loaded should all disappear after clicking a button...in general the page has
Dec 07, 2016 09:42 AM|raju dasa|LINK
I want this function init() to disappear
You can't delete it but you can stop it's execution by storing and reading a flag bit from cookie/localStorage/sessionStorage.
and set this flag and store in button click.
Dec 07, 2016 11:38 AM|Lexi85|LINK
Dec 08, 2016 09:40 AM|Cathy Zou|LINK
As raju dasa, I think it is possible to realize that.
The solution raju dasa provided to stop it's execution similar to my previous reply in the following links:
Jan 18, 2017 01:07 PM|rashmi.padia|LINK
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<p>Click on submit button clear record</p>