|
-
Apr 27th, 2005, 01:45 AM
#1
Thread Starter
Member
Javascript in ASP.NET
hi everyone,
i m trying to use javascript functions in asp.net webform...but somehow, the click function which should check the textbox status is not recognising the javascript functions
is there any difference in using javascript in ASP and javascript in ASP.NET
thnx
-
Apr 27th, 2005, 09:16 AM
#2
I wonder how many charact
Re: Javascript in ASP.NET
No, javascript is javascript.
-
Apr 28th, 2005, 05:19 AM
#3
Thread Starter
Member
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.
-
Apr 28th, 2005, 05:35 AM
#4
New Member
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..
-
Apr 28th, 2005, 08:06 AM
#5
I wonder how many charact
Re: Javascript in ASP.NET
you can still apply an onclick attribute to a textbox, just do it on the code behind.
-
May 23rd, 2005, 02:59 AM
#6
Member
Re: Javascript in ASP.NET
-
May 24th, 2005, 06:35 AM
#7
I wonder how many charact
Re: Javascript in ASP.NET
Code:
textBox1.Attributes.Add("onclick","alert('hi');");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|