Tuesday, March 6, 2012

Capture click event of OOB control’s “save and close” link for Profile Page

Edit Profile page is OOB page and it has OOB control to edit profile.

< SPSWC:ProfileEditor ID="ProfileEditor" runat="server" oncontextmenu="return false" />

we can capture click event of "save and close" link of this control as given below

< script language="javascript">
$('a[id$="ProfileSave_i"]').bind('click', function() {
alert("img");
});
$('a[id$="ProfileSave"]').bind('click', function() {
alert("text");
});

No comments:

Post a Comment