Cancelling OnSave event CRM JavaScript.

Hi,

To cancel save event we need to use this line of code

event.returnValue=false;

followed by

return false;

To know more about it

http://msdn.microsoft.com/en-us/library/cc150868.aspx

To understand difference between event.returnValue=false and return false, check out this informative article

http://webdevelopersjournal.com/articles/jsevents2/jsevents2.html

Bye..


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s