I got a weird error I hope you guys can help with.
Sometimes when the user tries to submit a form the file upload field image
just clears and nothing h
There is no clever workarounds for this, IE9 does not allow a file to be tampered with via JavaScript probably for security reasons.
There should be only 1 submit button
per form
.
So keep 1 save button as type="submit"
,change another to type="button"
First of all, pls let us see your php coding to send this form.... Usually form submission errors such as this have server-side coding errors.. Maybe you should check out your PHP coding and see what happens in your
$_POST['save']
area....
Hope this helps... :)
you should use:
<input type="button" onclick="customFunction" />
write what you want to do in customFunction(javascript)
Try using input instead of button, good luck!
ex
<input type="submit" name="mysubmit" value="Click!" />