31).What is 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.
32).What is Jquery $.ajax() method?
The Jquery ajax() method is used to perform an AJAX (asynchronous HTTP) request.
33).Name any four parameter of Jquery ajax method?
url : Specifies the URL to send the request to. Default is the current page
type : Specifies the type of request. (GET or POST)
data : Specifies data to be sent to the server
cache: A Boolean value indicating whether the browser should cache the requested pages. Default is true
beforeSend(xhr): A function to run before the request is sent
34).When can you use jQuery?
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 attractive look (dialog box etc)
8.For asynchronous calls ($.ajax())
35).What is the use of noConflict() method in Jquery?
36).How to select combobox selectedvalue and text using Jquery?
Example:
var StateID = $("#StateCbx").val(); // Or you can use it $("#iStateID").val();
var StateName = $("#StateCbx option:selected").text();
alert("Selected combobox text is= " + StateName + " and value is= " + StateID);
37).JQuery html() method works for both HTML and XML documents?
No, It only works for HTML
38).Can you call C# code behind method using Jquery?
Yes
39).How can you call a method inside code-behind using jQuery?
By $.ajax and by declaring method a WebMethod
40).What is the use of jQuery.data()?
jQuery’s data method gives us the ability to associate arbitrary data with DOM nodes and JavaScript objects. This makes our code more concise and clean.
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.
32).What is Jquery $.ajax() method?
The Jquery ajax() method is used to perform an AJAX (asynchronous HTTP) request.
33).Name any four parameter of Jquery ajax method?
url : Specifies the URL to send the request to. Default is the current page
type : Specifies the type of request. (GET or POST)
data : Specifies data to be sent to the server
cache: A Boolean value indicating whether the browser should cache the requested pages. Default is true
beforeSend(xhr): A function to run before the request is sent
34).When can you use jQuery?
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 attractive look (dialog box etc)
8.For asynchronous calls ($.ajax())
35).What is the use of noConflict() method in Jquery?
36).How to select combobox selectedvalue and text using Jquery?
Example:
var StateID = $("#StateCbx").val(); // Or you can use it $("#iStateID").val();
var StateName = $("#StateCbx option:selected").text();
alert("Selected combobox text is= " + StateName + " and value is= " + StateID);
37).JQuery html() method works for both HTML and XML documents?
No, It only works for HTML
38).Can you call C# code behind method using Jquery?
Yes
39).How can you call a method inside code-behind using jQuery?
By $.ajax and by declaring method a WebMethod
40).What is the use of jQuery.data()?
jQuery’s data method gives us the ability to associate arbitrary data with DOM nodes and JavaScript objects. This makes our code more concise and clean.

No comments:
Post a Comment