Search This Blog

Thursday, March 12, 2015

Alert Box in Sharepoint Pages


Sometimes we need to provide users some messages or warning alert box when they save or delete data.

How to do that? Very Simple, No need for coding!!

We need to add a simple JavaScript code  in content editor webpart on a particular page where we need to popup that alert box.

Here is a sample of code

<script language="JavaScript">
function PreSaveAction()
{
alert('Your Information has been successfully saved');
return true;
}

No comments:

Post a Comment