This topic is locked

Automatically Trigger Save

8/28/2017 9:46:07 AM
ASPRunner.NET General questions
MK Frank R author

Anyone ever come up with Javascript that, on exit of the control, would trigger an auto save of the form? I actually need something like this for the type of people I am building the app for.

jadachDevClub member 8/28/2017

Did you look at using the new field events?

MK Frank R author 8/28/2017



Did you look at using the new field events?


Yes - but I don't quite see how yet.

admin 9/5/2017

Here is the Javascript code that will click your 'Save' button. You can add it to ClientBefore or ClientAfter event.

$("#saveButton1").trigger('click');
Pete K 9/8/2017



Here is the Javascript code that will click your 'Save' button. You can add it to ClientBefore or ClientAfter event.

$("#saveButton1").trigger('click');



Nice. I can see situations where that would be helpful.