Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

PresaveAction() Popup message box with save and cancel button

$
0
0

Hi,

I want to give user an option from popup box with the message "Are you sure to Save you record".

I got below javascript code but don't know how to show two buttons on popup if user wants to recheck before final saving then he should click CANCEL otherwise SAVE button.

<script type="text/javascript">
function PreSaveAction()
{
alert("Your request has been submitted");
return true;
}</script>

Please advise in above code. 

Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>