Trying To Submit A Form With Jquery May 30, 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.<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 Post a Comment for "Trying To Submit A Form With Jquery"
Post a Comment for "Trying To Submit A Form With Jquery"