What is the purpose/function of a button?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Sure, to prevent an automatic postback, please, put the following code in OnClick property of your button:
To submit the form by clicking your custom button use the following code:
Code: Select all
event.preventDefaults();
Code: Select all
fd.save().click();
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests