Xpode.com        Click here to Print this article.

What are the different ways by which you can select a HTML element in JQuery ? ( ASP.Net jquery interview questions with answers)

You can select Jquery elements in the following ways:-


Select all paragraph tags and hide them

$("p").hide();

Select by ID

$("#Text1").val("Shiv");


This question is taken from questpond.com’s ASP.NET Jquery interview questions video series.



http://
http://www.questpond.com/

Contributed by:
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site http://www.questpond.com for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=675

Click here to go on website