-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 0 views
-
Mozilla releases Firefox 138.0.3 to fix crashes, HDR issues, and more
By TarasBuria,
- firefox
- mozilla firefox
- (and 3 more)
- 4 replies
- 0 views
-
- 0 replies
- 0 views
-
- 0 replies
- 0 views
-
- 1 reply
- 0 views
-
Question
LaP
Hi!
I need to make an old made for IE only web app compatible with Chrome and Firefox. 90% of the job is done but i still have a small problem.
So i have a form like this.
The code inside the onclick is generated by a framework (Apache MyFaces i think) so i have no control over this and it needs to be executed. The whole form is hidden and is submitted in javascript using the click method of the submit input. Basically there's a map (jpg image) and the user select a tool and then select a part of the map and then some javascript set the value of the inputs of the hidden form and then click() the submit input.
My problem is the form is never submitted in Firefox. The javascript code of the onclick event of the submit input is executed but then the form is not submitted. I can't submit the form using the submit method of the form itself cause the framework doesn't execute the java code behind if i do so. If i display the form, set some values manually without using the map and tools and then click on the submit input myself then it works. The javascript code of the onclick event of the submit input is executed and the form is submitted.
Anyone had a problem like this before? If yes what did you do? Ideally i really need to submit this form using the click method of the submit input cause i don't want to mess with the framework since i don't know this framework at all let's just say i prefer to touch the javascript only.
Link to comment
https://www.neowin.net/forum/topic/1250450-form-not-submitted-when-click-method-is-used-in-firefox/Share on other sites
4 answers to this question
Recommended Posts