Thursday, 22 August 2013

Calling Javascript on a form post to update UI via jQuery

Calling Javascript on a form post to update UI via jQuery

I have an Input element that submits a form:
<input type="submit" value="Download" id="downloadButton"
class="btn-download" />
I need the button to call a javascript function, and then post the form
normally.
How would that be done in jQuery?

No comments:

Post a Comment