Why does javascript not recognize input tag names when their is asp code on the input tag ? I have a if then asp statement on a radio button(html) but when I try to reference it in javascript it does not appear in the intellisense unless I take the asp out.
In response to everybodys thoughts: I have since changed the code in the radio button to be pure javascript so I don't have the original code example. But there was nothing wrong with the code as it was working fine until I tried to reference the tag name in some javascript code. The asp code was simply checking if there was a value in a variable and if so then check the button.
I was just wondering why the intellisense works only if I take the asp code out of the input tag when referencing the objects in javascript.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.