Re: Javascript in ASP.NET
No, javascript is javascript.
Re: Javascript in ASP.NET
i know javascript is javascript...but in asp we used to write onclick="function_name()...but in asp.net we cant do that.
can u plz suggest any wayout for this.
Re: Javascript in ASP.NET
if you are using an <asp:textbox /> i dont think that they have an onClick="" attrib... this does however seem a tad strange..
Re: Javascript in ASP.NET
you can still apply an onclick attribute to a textbox, just do it on the code behind.
Re: Javascript in ASP.NET
Re: Javascript in ASP.NET
Code:
textBox1.Attributes.Add("onclick","alert('hi');");