Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript ---input tag --- and asp code question

Status
Not open for further replies.

1712

Technical User
Nov 8, 2000
66
NL
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.
 
I've notice this problem before myself. The only thing I could figure was to do the javascript first and then add the server-side script.
 
You probably just forgot to leave spaces.
[bb]
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top