Hi,
I want to disable submit button after user press submit once, I am facing so much trouble people submitting content twice so i think i twill be good if I disable submit button after it is being pressed for once.
Issue is that if I use onlick as like following :
<input type="submit" name="submit" value="click to submit" onclick="callSomeFunction()" />
It call function to disable but form data is not being submitted as onclick is executing before submission of data.. how do I do that I can submit data and trigger even on pressing submit too so that I can disable the button ?