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..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.
