Gaurav Raj

Gaurav Raj

  • 1.5k
  • 475
  • 48k

object null reference in asp.net

Feb 3 2018 4:55 AM
this is external javascript file modal.js
when i used this code 
var modal = document.getElementById("myModal") 
var img = document.getElementById('<%= ImgProfile.ClientID %>');
img object null reference
 
please help me guys

Answers (2)