Davin Martyn

Davin Martyn

  • NA
  • 7.5k
  • 3m

Call page in javascript function

Jul 13 2015 9:08 AM
Hello,
 
I am working in javascript and html.
 
I have a 3 pages like a.html, b.html, c.html. I n form action attribute b.html page has been given and a.html is my landing page.
I have one prompt box when click on submit button then prompt should be open and give any input and click on ok button then c.html page should be work as well as b.html page.
 
When we click on cancel button then c.html page run and after than a.html should be open like after cancel c.html execute and go to a.html page.
 
Please describe how can do this? 

Answers (3)