Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Custom Button for Open Alert me Page in Model Popup in Java script
WhatsApp
Sushant Kesari
Sep 29
2015
1.4
k
0
0
<table>
<tr>
<td>
<button id=
"setAlert"
type=
"button"
onclick=
'AlertMeDialog()'
>Set Alert</button>
</td>
<td>
<button id=
"manageAlert"
type=
"button"
onclick=
'test()'
>Manage My Alerts</button>
</td>
</tr>
</table>
<script type=
"text/javascript"
>
function AlertMeDialog() {
var options = {
url:
'/_layouts/SubNew.aspx?List={8cf4def7-cfcf-4143-be3b-93021692c342}'
,
title:
'Set alert on this list'
,
allowMaximize:
false
,
showClose:
true
};
SP.SOD.execute(
'sp.ui.dialog.js'
,
'SP.UI.ModalDialog.showModalDialog'
, options);
}
function test()
{
window.open(
'/_layouts/15/start.aspx#/_layouts/15/MySubs.aspx'
);
}
</script>
SharePoint
alert me functionality
popup
Up Next
Custom Button for Open Alert me Page in Model Popup in Java script