Gaurav Raj

Gaurav Raj

  • NA
  • 475
  • 88.7k

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)