Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to add css class using jQuery?
October 15, 2012
I have written this script to find control and then add css class to it
var abc = $(this).parent().parent().parent().attr('id');
It works fine. When I test variable in alert like
then it display correct id of the control. Now I want to add css class to this control. I tried this code but not working.
No response found. Be the first to respond this post
To post reply
Related Questions Related Questions
what really differs an abstract class from interface and vice versa
when can i go for abstract class and when interface
What is Partial Class
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
what is the benefits of partial class
What is Singleton class?
What is the use of Partial class in .NET
ASP.NET Application - Architecture and Class Diagrams
paritial class in asp.net
How to use JQuery in asp.net
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend