Bug Tracker

Opened 8 years ago

Closed 8 years ago

#10523 closed bug (worksforme)

this.form.submit stopped working

Reported by: gilmojoman@… 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

Change History (2)

comment:1 Changed 8 years ago by anonymous

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.

comment:2 Changed 8 years ago by ajpiano

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.