Hello All, We are going to start new batch from next week. message/call or mail us for more details.

4 June 2015

JQuery Interview Questions and Answers for Freshers and Experienced

What is jQuery?
jQuery 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 jQuery is needed?
jQuery 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 jQuery HTML work for both HTML and XML documents?
No, jQuery 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 jQuery?
Efficiency of web page increases when minimized version of jQuery 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 jQuery is a JavaScript or JSON library file?
jQuery is a library of JavaScript file and it consists of DOM, event effects and the Ajax functions. jQuery is said to be a single JavaScript file.
Which operating system is more compatible with jQuery?
Mac, Windows and Linux are more compatible with the jQuery.
How can we include jQuery library in ASP.Net project?
Download the jQuery library from jQuery.com and include that reference in the asp.net page.
Which command will give a version of jQuery?
The command $.ui.version returns jQuery UI version.
In what scenarios jQuery can be used?
jQuery 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 jQuery connect?
A ‘ jQuery 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 jQuery 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 jQuery, has been used in web applications?
jQuery uses features like Sliding, File uploading and accordian in web applications.
What are the browser related issues for jQuery?
Browser compatibility of jQuery plugin is an issue and needs lot of time to fix it.
Whether we need to add jQuery file in both Master and Content page?
jQuery 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 jQuery?
Following are the basic selectors in jQuery:
  • Element ID
  • CSS Name
  • Tag Name
  • DOM hierarchy
Can we call C# code behind using jQuery?
Yes, we can call C# code from jQuery 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 jQuery code clear and concise.
What is the use of each function in jQuery?
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 jQuery?
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 jQuery load method?
jQuery 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 jQuery?
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 jQuery 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 jQuery filter?
The jQuery 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 jQuery?
QUnit is used to test jQuery 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 jQuery from Ajax CDN
  • Google – Load jQuery from Google libraries API
Which sign is used as a shortcut for jQuery?
Dollar ($) sign is used as a shortcut for jQuery.
Is jQuery is a client or server scripting?
jQuery is a client scripting.
What is the script build up by jQuery?
jQuery is a Javascript file and it is single javascript file that contains common DOM, event effects and Ajax functions.
How can we debug jQuery?
There are two ways to debug jQuery:
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 jQuery in a page?
Following are the ways to include jQuery 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 JQuery?
jQuery javascript can be downloaded from jQuery official website – www.jquery.com
Is jQuery is a replacement of JavaScript?
No, jQuery 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 jQuery?
Following are the advantages of jQuery:
  • 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 jQuery?
Yes, we can call C# code behind from jQuery.
What is the use of jQuery.data() method?
jQuery 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 jQuery each function?
jQuery each function is used to loop through each and every element of the target jQuery object. It is also useful for multi element DOM, looping arrays and object properties.
How method can be called inside code behind using jQuery?
$.ajax can be called and by declaring WebMethod inside code behind using jQuery.
Which is the fastest selector in jQuery?
ID and Element are the fastest selectors in jQuery.
What is the slowest selector in jQuery?
Class selectors are the slowest selectors in jQuery.
Where jQuery code is getting executed?
jQuery code is getting executed on a client browser.
What is the method used to define the specific character in place of $ sign?
‘NoConflict’ method is used to reference a jQuery and save it in a variable. That variable can be used instead of Sign.
Why jQuery is better than JavaScript?
jQuery is a library used for developing Ajax application and it helps to write the code clean and concise. It also handles events, animation and Ajax support applications.
What are the types of selectors in jQuery?
There are three types of selectors in jQuery:
  • CSS Selector
  • XPath Selector
  • Custom Selector

91 comments:

  1. informative post.... thanks for sharing

    ReplyDelete
  2. Firstly I say that your blog is good. Education is very important for the students and new freshers are seeking for the best .NET development training institutes for study. I think students can get best experience in offline training.

    ReplyDelete
  3. very nice blog we are another online training courses IBM DB2 Online Training

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. wow....Thanks for sharing this great source full of Dotnet related posts.realy great work onece again thanks me and leadonlinetraining.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. informative post... thanks for sharing


    ReplyDelete
  8. Microsoft ASP.NET Training in Delhi- As we all know technology is growing very fast. There is a boom in IT industry all over the world. One of the best career options here is web designing and the students who are creative at thinking and imagination can be good web designers and make career in IT industry. Microsoft, one of the leading IT companies, introduced ASP.NET, as a software development platform for developing website.

    ReplyDelete
  9. Thank you sir,I recently came across your blog and have been reading along. nice explanation.We are providing < Hibernate online training . I thought I would leave my first comment. I feel great after reading this information.

    ReplyDelete
  10. Hi Admin,
    Excellent blog and its totally loaded with valid posts on Java and .Net technology. Consider including RSS feed in your blog, so aspirants like me can follow your blog easily. Dot Net Training

    ReplyDelete
  11. Microsoft ASP.NET Training in Delhi- To give a bright start to your career you must need a .net training coaching institute. Most of the .net coaching institutes offers only basic knowledge not the real web designing work experience on live project. You need to search for a good institute that can provide you training on live projects so that you can become expert at your entry level in .net field.

    ReplyDelete
  12. thanks.for your info.You can find material related to Jquery&Ajax Training by following below link.
    regards...
    Jquery&Ajax Online Training in USA

    ReplyDelete
  13. thanks.for your info.You can find material related to Jquery&Ajax Training by following below link.
    regards...
    Jquery&Ajax Online Training in USA

    ReplyDelete
  14. thanks.for your info.You can find material related to Android Training by following below link.
    regards...
    Android Online Training in USA

    ReplyDelete
  15. thanks.for your info.You can find material related to Android Training by following below link.
    regards...
    Android Offline Training in USA

    ReplyDelete
  16. Only Institute I recommend to any Java Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best Java Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.

    regards
    core java online training in USA

    ReplyDelete
  17. Only Institute I recommend to any Java Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best Java Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    Advanced java online training in USA

    ReplyDelete
  18. Only Institute I recommend to any Java Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best Java Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    Spring java online/offline training in USA

    ReplyDelete
  19. thanks.for your info.You can find material related to structs Training by following below link.
    regards...
    Struts online/offline training in USA

    ReplyDelete
  20. This information which you provided is very much useful for us.It was very interesting and useful for JAVA online training.We also provide..
    regards...
    Hybernate offline/online training in USA

    ReplyDelete
  21. thanks.for your info.You can find material related to Android Training by following below link.
    regards...
    Android Online Training in USA

    ReplyDelete
  22. thanks.for your info.You can find material related to core java Training by following below link.
    regards...
    core java offline/Online Training in USA

    ReplyDelete
  23. thanks.for your info.You can find material related to Springs java Training by following below link.
    regards...
    springs offline/Online Training in USA

    ReplyDelete
  24. thanks.for your info.You can find material related to Struts Training by following below link.
    regards...
    Struts Offline/Online Training in USA

    ReplyDelete
  25. thanks.for your info.You can find material related to Hybernate Training by following below link.
    regards...
    Hybernate Offline/Online Training in USA

    ReplyDelete
  26. Only Institute I recommend to any German language Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best German Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    German Offline/Online training in USA

    ReplyDelete
  27. Only Institute I recommend to any French language Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best French Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    French Offline/Online training in USA

    ReplyDelete
  28. Only Institute I recommend to any Chinies language Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best Chinies Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    Chinies Offline/Online training in USA

    ReplyDelete
  29. Only Institute I recommend to any English language Beginners is "Harshitha Technology Solutions Pvt.Ltd". This is by far the best English Training Institute for beginners, it's lean, thin, contains all a beginner wants to know and gets ball rolling quickly.
    regards
    English Offline/Online training in USA

    ReplyDelete
  30. Thank you for your very useful information. I appreciate that you looked it up to share with us all!
    http://www.rstrainings.com/

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. Now a days every business man maintain one website that is static are dynamic websites.This is very useful.thanks for the explain use of this info
    dotnetonlinetraining

    ReplyDelete
  33. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
    Regards,
    Angularjs training in chennai|Node JS training|Python Training in Chennai

    ReplyDelete
  34. This is very good information for knowing the dotnet basic knowledage dotnetonlinetraining

    ReplyDelete
  35. Fantastic, I'm enjoyed read this post, Every time search this type of post. Really I enjoyed. This article is really very interesting and effective. I think its must be helpful for us. Thanks for sharing your informative. Buy Twitter Followers

    ReplyDelete
  36. thank u for sharing this blog...it's really very interesting..we are offering dot net online training

    ReplyDelete
  37. Microsoft .NET is a framework used for the rapid development of desktop and web-based applications. ASP.NET is an integral part of the .NET framework, simplifying application development and allowing programmers to more efficiently build dynamic websites and web applications.
    .net development sydney

    ReplyDelete
  38. It's a very helpful article about javascript training,.
    angularjs

    ReplyDelete
  39. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
    Oracle Training In Chennai | Hadoop Training In Chennai

    ReplyDelete
  40. Best Java Training Institute In ChennaiThis information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic..

    ReplyDelete
  41. Thanks for providing information. We are providing online training classes
    <a href="http://hyderabadsys.com/http://hyderabadsys.com/http://hyderabadsys.com/dotnet-online-training/”> dotnet Online Training</a>

    ReplyDelete
  42. dot net is the latest technology also provides many features and also easy to learn.you blog also provide descriptive information thank you for sharing

    Dot Net Tutorial

    ReplyDelete
  43. Thanks for sharing these information. It’s a very nice topic. We are providing online training classes dotnet-online-training

    ReplyDelete
  44. Paris airport transfer - Parisairportransfer is very common in Paris that provides facilities to both the businessmen and the tourists. We provide airport transfers from London to any airport in London and also cruise transfer services at very affordable price to our valuable clients.

    Paris taxi
    Paris airport shuttle
    paris hotel transfer
    paris airport transfer
    paris shuttle
    paris car service
    paris airport service
    disneyland paris transfer
    paris airport transportation
    beauvais airport transfer
    taxi beauvais airport
    taxi cdg airport
    taxi orly airport

    ReplyDelete
  45. I have read your information its very useful topic for me. Thanks for providing information. Hyderabadsys providing online training services
    .NET Online Training

    ReplyDelete
  46. It is a very incridble post.your post are very informative for me.Thank you so much.. PHP Training in Jalandhar

    ReplyDelete
  47. This information is impressive..I am inspired with your post writing style & how continuously you describe this topic. After reading your post,thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.. SAP Training in chennai

    ReplyDelete
  48. Wowwww... really great information. Having interesting topic. The pictorial representation helps me to easy understanding of this. Have a great idea. Thank you.
    SAP Training in Chennai

    ReplyDelete
  49. One of the great post in the recent times.Great Continue your work.

    salesforce training in chennai

    ReplyDelete
  50. Thanks for this useful post. This will help freshers and experienced too for interviews. Readers can also find more interview questions by ASIT, Bangalore.

    ReplyDelete
  51. nice post..
    SAP HANA training in hyderabad,This is the best path You can Learn COmplete Course with full fledge knowledge of SAP.SAP HANA training in hyderabad

    ReplyDelete
  52. Excellent incredible blog layout! How long have you been blogging for? you make running a blog look easy. The overall glance of your website is magnificent, let alone the content!

    Linux Training in Chennai Guindy

    ReplyDelete
  53. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command .

    ccna training in chennai velachery

    ReplyDelete
  54. It is really a great and useful piece of info. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thank you for sharing.

    Corporate Training in Chennai

    ReplyDelete
  55. Thank You for sharing your article. I like it. We are also giving TIBCO Online Training at affordable prices.
    TIBCO BE Training
    TIBCO BW Training

    ReplyDelete
  56. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.


    Digital Marketing Company in Chennai

    ReplyDelete
  57. Thank You for sharing your article.really superb article Online Courses

    ReplyDelete
  58. What an awesome post, I just read it from start to end. Learned something new after a long time.


    SAP SD training in Chennai

    ReplyDelete
  59. Provides great information about the concept.It helps an individual to gain knowledge on new techniques.Keep on giving this type of information.
    SEO Training in Chennai

    ReplyDelete
  60. I think this is interesting articles and Business ethics for new information's, and i like that kind of information.So the i like that post,because all of given information was very excellent

    Informatica Training in Chennai

    ReplyDelete
  61. I feel happy about and I really like this learning more about this topic. keep sharing your information regularly for my future reference.


    Best Dot Net Training Institutes in Chennai

    ReplyDelete
  62. Nice information shared. Very useful for everyone. Thanks for sharing. Keep posting. dot net training in pune

    ReplyDelete
  63. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.

    Dotnet Training in Chennai

    ReplyDelete

  64. Hii, I want to do online training course. I heared a name learnfly academy will u suggest me about it.
    online training |Learnfly Academy 503, 5th Floor, Westend Mall, Janak Puri, New Delhi, Delhi, 110058

    ReplyDelete
  65. These provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post.our giving articles really impressed for me.

    Best Dot Net Training Institutes in Chennai

    ReplyDelete


  66. Truely a very good article on how to handle the future technology. After reading your post,thanks for taking the time to discuss this content.


    Dot Net training

    ReplyDelete
  67. Thank You for sharing your article. I like it. We are also giving .net online training at affordable prices. http://mkrinfotech.com/dot-net-online-training/

    ReplyDelete
  68. this is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    Dotnet Training in Chennai

    ReplyDelete
  69. Such a nice ideas that we should read it and also share it.
    Best Prom Dresses

    ReplyDelete
  70. excellent guide about dot net programming. my suggestion is made some simple thing in programming. lot of functionality is tough to read. keep sharing more.
    dot net training in chennai

    ReplyDelete
  71. It was good post,.
    Your shared content is very nice and quite informative for us,.
    Tech Reviewer

    ReplyDelete
  72. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in JQUERY
    , kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on JQUERY. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete
  73. Its fantatic explaintion lot of information gather it...nice article....
    seo company in Chennai

    ReplyDelete