Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
When to you use jQuery?
Posted By :
Posted Date :
September 26, 2014
JQuery can be used to 1.apply CSS 2.call functions on events 3.traverse the documents 4.manipulation purpose and 5.to add effects too. - See more at:
You can also find related Interview Question to
When to you use jQuery?
What is JQuery?
JQuery is Java Script library or Java Script Framework which helps in how to traverse HTML documents, do some cool animations, and add Ajax interaction to any web page. It mainly helps programmer to reduce lines of code as huge code written in Java Script, can be done easily with JQuery in few lines.
What does dollar Sign ($) means in JQuery?
Dollar Sign is nothing but it's an alias for JQuery. Take a look at below jQuery code
Over here $ sign can be replaced with "jQuery " keyword.
How is body onload() function is different from document.ready() function used in jQuery?
Document.ready() function is different from body onload() function because off 2 reasons.
1. We can have more than one document.ready() function in a page where we can have only one onload function.
2. Document.ready() function is called as soon as DOM is loaded where body.onload() function is called when everything gets loaded on the page that includes DOM, images and all associated resources of the page.
What are the steps you need to follow to use jQuery in ASP.Net project?
and you good to go now for JQuery.
Note : 1.3.2 denotes the library version.. It can be vary depending upon the version of Jquery you download.
There are 3 types of selectors in Jquery?
1. CSS Selector
2. XPath Selector
3. Custom Selector
Name some of the methods of JQuery used to provide effects?
What is the basic used of jQuery() function
->Establish code to be executed when the DOM is ready for manipulation.
->Help as a namespace for global utility functions.
->Create DOM elements from HTML markup.
->Select and wrap DOM elements to operate upon
which are basic selectors in jQuery (cross browser)?
->CSS class name
->last but not the least DOM hierarchy.
What does hash and dot sign means in JQuery?
both hash and dot used to identify the control available in the page.
hash # is used to identify the control by control id.
Dot . is used to get the control by its class name.
To use this control in JQuery we should use $('.dvclass')
To use this control in JQuery we should use $('#dvclass')
What is jQuery?
Why do we use jQuery?
JQuery is used due to following advantages:-
Easy to use and learn.
Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)
Easy to use for DOM manipulation and traversal.
Large pool of built in methods.
Methods for changing or applying CSS, creating animations.
Event detection and handling.
Tons of plug-ins for all kind of needs.
Which is the starting point of code execution in jQuery?
The starting point of jQuery code execution is $(document).ready() function which is executed when DOM is loaded.
What is the difference between jquery.js and jquery.min.js?
jquery.min.js is the minified version, where as jquery.js is the non-minified version. In your production website always use minified files as they download faster and consumes less bandwidth.
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend