Interview >> JavaScript >> jQuery >> Web Applications
jQuery Interview Questions
With the rich internet applications (RIA) being deployed everywhere including enterprises, the related UI frameworks to build these applications are also in demand. Every framework provides something which is fresh in the market.
These UI frameworks are javascript based, have support for Ajax, have cross browser support and are extensible. So when you are being screened for a requirement in the organization, the interviewer will try to judge you on various aspects of an application. Here in this article, I am listing few jQuery Interview Questions which are helpful to all developers and UI developers in particular.
1) What do you need to do in order to use jQuery in your project?
Ans: We need to import the jQuery minified js and css files
2) What is the difference between normal and minimal version of .js files that are shipped with Jquery bundle?
Ans: The minified version is useful in production system because it saves the bandwidth and decreases page loading speed.
3) Can one download and change the jQuery base code and use it? Did you every feel like changing the code base for something that was missing in the bundle? Under what scenarios will you consider modifying the Jquery code base?
Ans: This should ideally never be required and we shall post the issue to jQuery library to the developer community.
4) Which version of jquery have you worked on. What steps will you take to migrate your web application to the latest version of Jquery?
Ans: There are different versions for jQuery Mobile and jQuery normal libraries and discuss the version you have been using.
5) What all features of jQuery have you used in your web projects?
Ans: jQuery offers a lot of features like Accordian, Sliding menu, File upload etc.
6) Would you prefer using a feature available in jquery than writing the same functionality using custom javascript and CSS?
Ans: It is better to use the same feature using jQuery than writing custom css and js.
7) What all browser related issues you have faced with Jquery?
Ans: Browser compatibility of jQuery plugins is an issue and needs lot of time and effort to fix.
8 ) What is the difference between javascript’s onload function invoked from HTML body tag like <body onload=”somefunction();”> and Jquery’s ready function?
Ans: We can have multiple onload handlers in jQuery but not with bodt tag.
9) On what parameters will you judge a Jquery plugin before using it in your application?
Ans:
1) Browser compatibility.
2) Performance
3) Ease of use
10) What all techniques have you been using in order to increase the performance of a web application developed using Jquery?
Ans: Try not add too many event handlers on load event. Use proper element selectors.
11) Given the option to decide on a Javascript framework for a JEE based web application, what other frameworks will you consider before making a choice?
Ans: There are many other food javascript frameworks including prototype, dojo and YUI.
12) What all Jquery plugins have you used? Explain them?
13) Can you write the code to send an Ajax request to a JSP page?
Ans: One can use $.POST() and $.GET() to issue Ajax requests in web applications.
14) Have you used overlay effect of Jquery? What configuration settings are available for creating the overlay effect?
15) Which Jquery editor do you use?
The above jQuery Interview Questions should give the interviewer a view of how competent the candidate is on jQuery front. Of course, the interviewer may not ask these questions in the serial order given above but they act as the starting point for a discussion and then he may dig more dipper into the concept.
jQuery Tutorials
8 Cross Browser jQuery Plugins
How to write Rich Internet Applications



Sunil Akula
Thanks for the questions. But in the same way if you can provide the answers for the questions it will be very nice for understanding the things.
If possible please post a thread for it.
Thanks,
Sunil.