I have a submit button with onclick="return loadSubmit()" and i want to hide it after clicking with this this.style.visibility = "hidden";
i tried to make these two functions in the same button
<input type="image" name="Generate" class="contSubmit" src="generate.png" onclick='return loadSubmit();this.style.visibility = "hidden";' />
but this does not work, what's the solution please?
Thanks