How to put JS on TextBox...correctly?
From: Amil (amilhanish_at_hotmail.com)
Date: 04/01/04
- Next message: Manohar Kamath [MVP]: "Re: Error adding httpModule"
- Previous message: Peter O'Reilly: "Re: Context.Items lost using Server.Transfer"
- Next in thread: Amil: "Re: How to put JS on TextBox...correctly?"
- Reply: Amil: "Re: How to put JS on TextBox...correctly?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Apr 2004 13:01:13 -0700
I have code that adds Javascript to a textbox:
txtbox.Attributes.Add("onKeyDown", "myJScode");
When I look at the actual source, the JS code is placed inside of a <span>
tag directly before the actual <input> tag. How can I make sure the JS is
applied/added to the <input> tag?? The <span> tag must be added by
.NET.
Amil
- Next message: Manohar Kamath [MVP]: "Re: Error adding httpModule"
- Previous message: Peter O'Reilly: "Re: Context.Items lost using Server.Transfer"
- Next in thread: Amil: "Re: How to put JS on TextBox...correctly?"
- Reply: Amil: "Re: How to put JS on TextBox...correctly?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|