.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Refernce of Css through javascript

Posted By: Vikramraj     Posted Date: June 10, 2010    Points:2   Category :ASP.Net
I Have 2 Css & want to apply that css using javascript in asp.net pags is it possible? How can this problem be solved.

Author: Venkat             
Posted Date: June 15, 2010     Points: 5   


You can use Jquery to set or remove class. But if you would like to add/remove style using javscript you can do so

for eg:

var obj= document.getElementById(yourObject);
obj.style.visibility = "visible";


obj.style.visibility = "none";

Mark As Answer if this solve your problem
Warm Regards,

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend