Joined February 2012
·

Livingston Samuel

Frontend Engineer at ThoughtWorks
·
Chennai
·
·
·

Posted to Want to reset a form (with) jQuery? over 1 year ago

or you can do $("#my_form")[0].reset()

or even better document.getElementById('#my_form').reset()

I don't see how you code is resizing image? It's just cropping an image.

Achievements
373 Karma
36,340 Total ProTip Views