Click here to Skip to main content
15,914,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq);

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq);

function beginReq(sender,args){
  var id = $(args.get_postBackElement()).attr('id');

}
function endReq(sender,args){

}

working fine in FireFox but not in Chrome and IE.
Posted
Updated 20-Oct-14 19:43pm
v4
Comments
Have you checked the Developer Tool Console?

1 solution

Try like below, refer Javascript to Get Post Back Element ID[^].
JavaScript
var id = args.get_postBackElement().id
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900