Gaurav Raj

Gaurav Raj

  • 1.5k
  • 475
  • 45.5k

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;

Brought to you by:

Answers (2)