I have a form that uploads a file and targets an iframe on the page. When the user clicks submit, I want the file contents to \"clear\" out.
I tried this
<
You could do something like this:
$('#imageaddform').submit(function(){ setTimeout(function() { $('#imagefile').val(''); },100); });