jQuery

  Home  World Wide Web  jQuery


“jQuery Interview Questions and Answers guide is a simple way to learn jQuery. Here you will learn that jQuery is a fast, brief and smallest JavaScript Library that simplifies our HTML document traversing, its event handling, its animation, and Ajax interactions with application for rapid web development. jQuery is designed for the enhancement of JavaScript and AJAX. This jQuery Tutorial and Interview Questions and Answers will guide all of us that jQuery is a lightweight JavaScript library.”



91 JQuery Questions And Answers

22⟩ Why is jQuery better than JavaScript?

* jQuery is great library for developing ajax based application.

* It helps the programmers to keep code simple and concise and reusable.

* jQuery library simplifies the process of traversal of HTML DOM tree.

* jQuery can also handle events, perform animation, and add the Ajax support in web applications.

 228 views

23⟩ Explain how jQuery Works?

<html>

<head>

<script type="text/javascript" src="jquery.js"></script>

<script type="text/javascript">

// You can write the code here

</script>

</head>

<body>

<a href="http://www.rendc.org/">Global GuideLine</a>

</body>

</html>

 215 views

24⟩ When can you use jQuery?

JQuery can be used to

apply CSS

call functions on events

traverse the documents

manipulation purpose and

to add effects too.

 223 views

25⟩ Advantages of jQuery.

The advantages of using jQuery are:

* JavaScript enhancement without the overhead of learning new syntax

* Ability to keep the code simple, clear, readable and reusable

* Eradication of the requirement of writing repetitious and complex loops and DOM scripting library calls

 208 views

29⟩ Explain the difference between jQuery's ready and holdReady?

jQuery's ready is an event which gets triggered automatically when DOM is ready while holdReady is a signal/flag to hold this triggering. holdReady was included in 1.6 version and it works only if used before the execution/triggering of ready event. Once ready event is fired, it has nothing to do. It is useful in dynamically loading scripts before the ready starts. It release ready event execution when used with a true parameter.

 221 views

37⟩ When can JQuery be used?

JQuery can be used to perform:

1) Call methods on specific events

2) Traverse the documents

3) For apply CSS

4) Manipulation purpose and

5) To add effects too.

6) For apply animations

7) For give atractive look (dialogbox etc)

8) For asynchronous calls ($.ajax())

 233 views