JavaScript Form submit without going to the target page form submit without refresh,form submit without redirect,form submit

I have question regarding form submit. I have this simple form on processFabrication.php to submit all the variables then process it to the database in another page called processExceededQty.php

Co, in processFabrication.php, I have

 echo "<form action='processExceededQty.php' method='post'>";

When I click submit it goes to the processExceededQty.php.

What I am aiming to do is,

  1. When user click submit, display confirmation yes/no with popup
  2. After user click yes with the confirmation window, stay in processFabrication.php but methods in processExceededQty.php is still executed.
  3. When user click no on the popup, go back and don't do form action

Any help would be greatly appreciated.

Answer:1

I am trying to generate a username by using the slice method. I am trying to use the users First name and last name to generate a username. Can't seem to make it work. Where am I going wrong? <...

I am trying to generate a username by using the slice method. I am trying to use the users First name and last name to generate a username. Can't seem to make it work. Where am I going wrong? <...

  1. generate bearer token using username and password

Progress Bar width is not getting updated by the variable bound by angular scope in IE. I want to have a progress bar length to be updated by a variable in angular scope, for that i have tried using ...

Progress Bar width is not getting updated by the variable bound by angular scope in IE. I want to have a progress bar length to be updated by a variable in angular scope, for that i have tried using ...

  1. bootstrap progress style
  2. bootstrap style progress bar
  3. bootstrap 4 progress bar style
  4. react bootstrap progress bar style
  5. bootstrap 3 progress bar style

I am trying to use blessed, a text UI lib for Node. I'd like to create windows dynamically (free them after use), but I could not find info in the docs about how to destroy them. I've tried to remove ...

I am trying to use blessed, a text UI lib for Node. I'd like to create windows dynamically (free them after use), but I could not find info in the docs about how to destroy them. I've tried to remove ...

If Google S2 favicon service can't find a favicon of a website, it returns a default image. I want to know that the favicon was not found so I can show some other default image (on my server), or ...

If Google S2 favicon service can't find a favicon of a website, it returns a default image. I want to know that the favicon was not found so I can show some other default image (on my server), or ...