Side navigation
#10523 closed bug (worksforme)
Opened October 18, 2011 05:12PM UTC
Closed October 19, 2011 03:22PM UTC
this.form.submit stopped working
Reported by: | gilmojoman@yahoo.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I am using onchange="this.form.submit()" on a file input for a form which uploads an image automatically upon selecting it.
<form enctype="multipart/form-data" action="addImage.php" method="post"><input type="file" name="image" onchange="this.form.submit()" /></form>
After adding jquery it stopped working nothing occurs when selecting the image.
I looked around and didn't find an answer. I also tried other things with no luck.
Can you please let me know if this is a known issue or is there a way to get this working.
Thanks,
Gil
Found the problem for this it actually was a jquery event that was causing a problem before it could submit the form even though no jquery was applied to the form.