Jump to content

I cannot perform 2 functions at the same time

Recommended Posts

Assuming that frm_order is a form, unless you've defined that elsewhere, you need to do $("#frm_order") to access it. There would be a syntax error preventing any further execution. Hence, nothing is done.

The second function you want to run, just does the same thing as the first? Clicking a submit button inside a form, is just $("#frm_order").submit() with extra steps.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...