0

I have two save buttons on the form. One is save and reload, the other one is save and stay on the page.

When the user clicks save and stay on the page I want it to save and not to refresh the page.

var form = $("#frmSaveAction");

I am currently using this to submit.

form.submit()
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339

1 Answers1

1

Submit The Form Without Page Refresh Using Ajax And jQuery

please refer this url : http://talkerscode.com/webtricks/submit%20the%20form%20without%20page%20refresh%20using%20ajax%20and%20jquery.php

Arun
  • 1,609
  • 1
  • 15
  • 18
  • I think this is a kind of comment, isn't it ? – Mayank Pandeyz Jun 29 '17 at 10:50
  • https://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers – freedomn-m Jun 29 '17 at 10:59
  • [answer] *Provide context for links. Links to external resources are encouraged, but please add context around the link so your fellow users will have some idea what it is and why it’s there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline.* – freedomn-m Jun 29 '17 at 11:00