What is j Query?
j Query is not a programming language but a well written JavaScript code. It is a JavaScript code, which do document traversing, event handling, Ajax interactions and Animations.
Why j Query is needed?
j Query is needed for the following list:
·         Used to develop browser compatible web applications
·         Improve the performance of an application
·         Very fast and extensible
·         UI related functions are written in minimal lines of codes
Whether j Query HTML work for both HTML and XML documents?
No, j Query HTML only works for HTML documents not for XML Documents.
What are the methods used to provide effects?
Some of the effects methods are:
·         Show()
·         Hide()
·         Toggle()
·         FadeIn() and
·         FadeOut()
What is the advantage of using minimized version of j Query?
Efficiency of web page increases when minimized version of j Query is used.min.js file will be more than 50% less than the normal js file. Reduction in the file size makes the web page faster.
Is j Query is a JavaScript or JSON library file?
j Query is a library of JavaScript file and it consists of DOM, event effects and the Ajax functions. j Query is said to be a single JavaScript file.
Which operating system is more compatible with j Query?
Mac, Windows and Linux are more compatible with the j Query.
How can we include j Query library in ASP.Net project?
Download the j Query library from jQuery.com and include that reference in the asp.net page.
Which command will give a version of j Query?
The command $.ui.version returns j Query UI version.
In what scenarios j Query can be used?
j Query can be used in following scenarios:
·         Apply CSS static or dynamic
·         Calling functions on events
·         Manipulation purpose
·         Mainly for Animation effects
What is the difference between find and children methods?
Find method is used to find all levels down the DOM tree but children find single level down the DOM tree.
What is j Query connect?
A ‘j Query connect’ is a plugin used to connect or bind a function with another function. Connect is used to execute function from any other function or plugin is executed.
How to use connect?
Connect can be used by downloading j Query connect file from jQuery.com and then include that file in the HTML file. Use $.connect function to connect a function to another function.
What are the features of j Query, has been used in web applications?
j Query uses features like Sliding, File uploading and accordian in web applications.
What are the browser related issues for j Query?
Browser compatibility of j Query plugin is an issue and needs lot of time to fix it.
Whether we need to add j Query file in both Master and Content page?
j Query file should be added to the Master page and can use access from the content page directly without having any reference to it.
What are the basic selectors in j Query?
Following are the basic selectors in j Query:
·         Element ID
·         CSS Name
·         Tag Name
·         DOM hierarchy
Can we call C# code behind using j Query?
Yes, we can call C# code from j Query as it supports .net application.
What is the use jQuery.data method?
jQuery.data methods is used to associate the data with the DOM nodes and the objects. This data method makes the j Query code clear and concise.
What is the use of each function in j Query?
Each function is used to iterate each and every element of an object. It is used to loop DOM elements, arrays and the object properties.
What is the difference between size and length of j Query?
Size and length both returns the number of element in an object. But length is faster than the size because length is a property and size is a method.
Can we add more than one ‘document.ready’ function in a page?
Yes, we can add more than one document.ready function in a page. But, body.onload can be added once in a page.
What is the use of j Query load method?
j Query load method is a powerful AJAX method which is used to load the data from a server and assign the data into the element without loading the page.
Whether our own specific characters are used in place of $ in j Query?
Yes, We can use our own variable in place of $ by suing the method called no Conflict () method.
var sample = $.noConflict()
What are the four parameters used for j Query Ajax method?
The four parameters are
·         URL – Need to specify the URL to send the request
·         type – Specifies type of request(Get or Post)
·         data – Specifies data to be sent to server
·         Cache – Whether the browser should cache the requested page
What is the use of j Query filter?
The j Query filter is used to filter the certain values from the object list based on the criteria. Example is to filter certain products from the master list of products in a cart website.
Which program is useful for testing j Query?
QUnit is used to test j Query and it is very easy and efficient.
What is CDN?
CDN is abbreviated as Content Distribution network and it is said to be a group of companies in different location with network containing copies of data files to maximize bandwidth in accessing the data.
What are the two types of CDNs?
There are two types of CDNs:
·         Microsoft – Load j Query from Ajax CDN
·         Google – Load j Query from Google libraries API
Which sign is used as a shortcut for j Query?
Dollar ($) sign is used as a shortcut for j Query.
Is j Query is a client or server scripting?
j Query is a client scripting.
What is the script build up by j Query?
j Query is a Javascript file and it is single javascript file that contains common DOM, event effects and Ajax functions.
How can we debug j Query?
There are two ways to debug j Query:
Debugger keyword
·         Add the debugger to the line from where we have to start debugging and then run Visual Studio in Debug mode with F5 function key.
·         Insert a break point after attaching the process
What are all the ways to include j Query in a page?
Following are the ways to include j Query in a page:
·         Local copy inside script tag
·         Remote copy of jQuery.com
·         Remote copy of Ajax API
·         Local copy of script manager control
·         Embedded script using client script object
What is the use of jQuery.ajax method ()?
jQuery.ajax method is used for asynchronous HTTP requests.
Where can we download J Query?
j Query javascript can be downloaded from j Query official website – www.jquery.com
Is j Query is a replacement of JavaScript?
No, j Query is not a replacement of JavaScript.
What is called chaining?
Chaining is used to connect multiple events and functions in a selector.
What are the advantages of j Query?
Following are the advantages of j Query:
·         Just a JavaScript enhancement
·         Coding is simple, clear, reusable
·         Removal of writing more complex conditions and loops
Whether C# code behind can be called from j Query?
Yes, we can call C# code behind from j Query.
What is the use of jQuery.data() method?
j Query data method is used to associate data with DOM nodes and JavaScript objects. This method will make a code very concise and neat.
What is the difference between onload() and document.ready()?
In a page, we can have only one onload function but we can have more than one document.ready function. Document.ready function is called when DOM is loaded but onload function is called when DOM and images are loaded on the page.
What is the use of j Query each function?

j Query each function is used to loop through each and every element of the target j Query object. It is also useful for multi element DOM, looping arrays and object properties.
Request to Download PDF

Post A Comment: