Its' like I'm learning ASP.NET all over again. I'm converting an app I wrote with just textpad to Visual Studio so I can use some of the cool features (like Linq) more easily without having to manually plug all that stuff in. So I have a site master, in one of the pages that uses it, I have a few textboxes:
<asp:TextBox ID="myTB" runat="server" onkeyup="validateForm(this);"/>
and within my js file, I have a "validateForm()" function:
function validateForm(element)
{
var myTB=document.getElementById("myTB");
//do stuff with myTB
}
and now I'm getting javascript errors all the sudden. After staring at my code for about 10 minutes with a confused look on my face, I looked at the source code from the rendered page and my textbox looks like thi ...
Go to the complete details ...