Trying To Submit A Form With Jquery January 15, 2024 Post a Comment I am having trouble submitting a form. I have filled it out. The form starts like: Solution 1: Try this this:document.forms[formName].submit(); CopySolution 2: Do you want to post those values back to the server? It is confusing what you want to do. Baca JugaHow To Work With Multiple Css Properties?Use 'noty' Js Library In Rails 5How To Work With Multiple Css Properties?<form action="" name="f" enctype="multipart/form-data" method="POST"> <inputtype="hidden"name="aa"value="b" /><inputtype="hidden"name="cbc"value="c" /> </form> $(document).ready(function(){ $('form[name="f"]').submit(); }); Copy Share You may like these posts Is There Any Way To Fire A Click Event On A SELECT Element In Chrome Even If The Selected Option Doesn't Change?How To Create A Pop-up Div On Mouse Over And Stay When ClickChart.js Show X-axis Data From Right To LeftJQuery Off() Not Removing Click Handler Post a Comment for "Trying To Submit A Form With Jquery"
Post a Comment for "Trying To Submit A Form With Jquery"