About
Pricing
Community
Teams
Start Free Trial
Log in
niceguy971
asked on
3/13/2012
C# and jQuery
I have in my web Application the following code ..so it's easy to Add attribute to the TextBox in server-side code.
My question_#1: "How to add attribute to the TextBox in client-side code using jQuery?".
My question_#2: "How to remove attribute from the TextBox in client-side code using jQuery?".
Server side code below:
txtTextBox1.Attributes.Add
("placehol
der", "First_Name"); // add Attribute to TextBox
txtTextBox1.Attributes.Rem
ove("place
holder"); // to remove Attribute
Thanks
C#
AJAX
.NET Programming
2
1
Last Comment
niceguy971
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kswathi
3/13/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
niceguy971
4/25/2012
ASKER
Thanks
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck