Gaurav Raj

Gaurav Raj

  • NA
  • 475
  • 89.3k

How to get asp.net client id at external javascript file

Feb 4 2018 12:13 AM
How to get asp.net client id at external javascript file
 
this is not work
 
var img = document.getElementById('<%= ImgProfile.ClientID %>');
 
give error null reference;

Answers (2)