Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
BRH 48
#DOTNET 34
#ASP.NET 29
jQuery 22
ASP.NET 20
.NET 20
WPF 9
jquery interview questions 9
jquery faq 8
ASP.NET4 8

Archive · View All
February 2011 10
September 2011 4
August 2011 4
July 2011 4
May 2011 4
April 2011 4
March 2011 4
October 2011 4
June 2011 4
January 2011 4

Explain how jQuery works?

Feb 12 2011 6:04PM by Hima   

The $() function is an alias for the jQuery() function . This returns a special Java-Script object. This JavaScript Object contains an array of  DOM elements that matches the selector. Selector is key thing in jQuery development.It is away to select node from DOM. This Java-Script object possesses a large number of useful predefined methods that can action group of elements.This type of construct is termed a wrapper because it wraps the matching element(s) with extended functionality.

  • Here $(object) is called jQuery wrapper around the object.
  • jQuery has a ready element that checks the document and waits until document is ready to be manipulated.
  • It searches for the reference files for framework, once it finds it then control goes to the function specified.
  • What ever code mentioned in the function that gets executed. Event handling also can be implemented here.

Consider the following example.

<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
   	// Your code here
      alert(“Checking function Fired”);

}
) ;
</script>
</head>
<body>
<a href="http://www.beyondrelational.com /">Beyond Relational jQuery FAQ </a>
</body>
</html>
Note :We can also use jQuery(document) instead of $. 
  • You can debug the jquery script by placing debugger keyword (OR) attaching worker process and then inserting a break point .

Tags: BRH, jquery interview questions., jquery faq, jquery interview questions, jqueryfaq, jquery features, jQueryinterview questions, jq, ready element, how jquery works,


Hima
31 · 6% · 1776
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"Explain how jQuery works?" rated 5 out of 5 by 1 readers
Explain how jQuery works? , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]