SlideShare una empresa de Scribd logo
1 de 11
JQUERY INTERVIEW
QUESTIONS AND ANSWERS
For more visit: www.w3asp.net
Q1. What is jQuery?
Ans: jQuery is a JavaScript based library that makes using the
JavaScript much easier for your web based applications. The
jQuery is fast, much easy to use, small in size – around 32Kb,
and contains a lot of features. The jQuery is cross platform
compatible, i.e. supported by many popular browsers like
Chrome, Firefox, IE, Safari and others. for more:
www.w3asp.net
For more visit: www.w3asp.net
Q2. Why do we use jQuery?
Ans: Here is a list of attributes that builds a case for why you
should use jQuery:
Easy to use and learn.
Easily expandable.
Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera
9.0+)
Easy to use for DOM manipulation and traversal.
Large pool of built in methods.
AJAX Capabilities.
Methods for changing or applying CSS, creating animations.
Event detection and handling.
Tons of plug-ins for all kind of needs.
For more visit: www.w3asp.net
Q3. How JavaScript and jQuery are different?
Ans: JavaScript is a language while jQuery is a library
built in the JavaScript language that helps to use the
JavaScript language.
Q4. Is jQuery replacement of Java Script?
Ans: No. jQuery is not a replacement of JavaScript.
jQuery is a different library which is written on top of
JavaScript. jQuery is a lightweight JavaScript library
that emphasizes interaction between JavaScript and
HTML.
For more visit: www.w3asp.net
Q5. Is jQuery a library for client scripting or
server scripting?
Ans: Client side scripting.
Q6. Does jQuery follow W3C recommend-
ations?
Ans: No.
Q7. What is the basic need to start with
jQuery?
Ans: To start with jQuery, one needs to make
reference of its library. The latest version of jQuery
can be downloaded from jQuery.com.
For more visit: www.w3asp.net
Q8. Which is the starting point of code
execution in jQuery?
Ans: The starting point of jQuery code execution is
$(document).ready() function which is executed when DOM is
loaded.
Q9. What does dollar sign ($) means in
jQuery?
Ans: Dollar Sign is nothing but it's an alias for JQuery. Take a
look at below jQuery code-
$(document).ready(function(){
});
Over here $ sign can be replaced with "jQuery" keyword.
jQuery(document).ready(function(){
});
For more visit: www.w3asp.net
Q10. Can we have multiple document.ready()
function on the same page?
Ans: YES. We can have any number of
document.ready() function on the same page.
Q11. Can we use our own specific character in
the place of $ sign in jQuery?
Ans: Yes. It is possible using jQuery.noConflict().
For more visit: www.w3asp.net
Q13. What is jQuery.noConflict?
Ans: As other client side libraries like MooTools, Prototype can be
used with jQuery and they also use $() as their global function
and to define variables. This situation creates conflict as $() is
used by jQuery and other library as their global function. To
overcome from such situations, jQuery has introduced
jQuery.noConflict().
jQuery.noConflict(); // Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery("div").hide();
});
You can also use your own specific character in the place of $ sign in
jQuery.
var $j = jQuery.noConflict(); // Use jQuery via jQuery(...)
$j(document).ready(function(){
$j("div").hide();
});
For more visit: www.w3asp.net
Q14. Is there any difference between body
onload() and document.ready() function?
Ans: document.ready() function is different from body
onload() function for 2 reasons.
1. We can have more than one document.ready()
function in a page where we can have only one body
onload function.
2. document.ready() function is called as soon as
DOM is loaded where body.onload() function is called
when everything gets loaded on the page that
includes DOM, images and all associated resources of
the page.
For more visit: www.w3asp.net
Q15. What is the difference between .js and
.min.js?
Ans: jQuery library comes in 2 different versions
Production and Deployment. The deployment version
is also known as minified version. So .min.js is
basically the
minified version of jQuery library file. Both the files
are same as far as functionality is concerned. But
.min.js is quite small in size so it loads quickly and
saves bandwidth.
For more visit: www.w3asp.net
For more visit: www.w3asp.net
You can get more stuff regarding
asp.net, jQuery, SQL SERVER,
C#,AJAX, winforms on www.w3asp.net

Más contenido relacionado

Destacado

Sociedade Dr4
Sociedade Dr4Sociedade Dr4
Sociedade Dr4mega
 
Prestação de contas- agosto
Prestação de contas- agostoPrestação de contas- agosto
Prestação de contas- agostoguest8908b89
 
DR.BAHRİ YILDIZ
DR.BAHRİ YILDIZDR.BAHRİ YILDIZ
DR.BAHRİ YILDIZbahri
 
ユースワークとは?若者と関わる上で大事なこと
ユースワークとは?若者と関わる上で大事なことユースワークとは?若者と関わる上で大事なこと
ユースワークとは?若者と関わる上で大事なこと両角 達平
 
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会両角 達平
 
Top 20 Asp.net interview Question and answers
Top 20 Asp.net interview Question and answersTop 20 Asp.net interview Question and answers
Top 20 Asp.net interview Question and answersw3asp dotnet
 
Understand front end developer
Understand front end developerUnderstand front end developer
Understand front end developerHsuan Fu Lien
 
Modern Front-End Development
Modern Front-End DevelopmentModern Front-End Development
Modern Front-End Developmentmwrather
 

Destacado (11)

Brad
BradBrad
Brad
 
S.O J.a
S.O    J.aS.O    J.a
S.O J.a
 
Sociedade Dr4
Sociedade Dr4Sociedade Dr4
Sociedade Dr4
 
Prestação de contas- agosto
Prestação de contas- agostoPrestação de contas- agosto
Prestação de contas- agosto
 
DR.BAHRİ YILDIZ
DR.BAHRİ YILDIZDR.BAHRİ YILDIZ
DR.BAHRİ YILDIZ
 
ユースワークとは?若者と関わる上で大事なこと
ユースワークとは?若者と関わる上で大事なことユースワークとは?若者と関わる上で大事なこと
ユースワークとは?若者と関わる上で大事なこと
 
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会
スウェーデンのユースワーク @Teenz 関東中高生向け児童館職員勉強会
 
Atmosfera
AtmosferaAtmosfera
Atmosfera
 
Top 20 Asp.net interview Question and answers
Top 20 Asp.net interview Question and answersTop 20 Asp.net interview Question and answers
Top 20 Asp.net interview Question and answers
 
Understand front end developer
Understand front end developerUnderstand front end developer
Understand front end developer
 
Modern Front-End Development
Modern Front-End DevelopmentModern Front-End Development
Modern Front-End Development
 

Último

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 

Último (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 

JQuery interview questions and answers

  • 1. JQUERY INTERVIEW QUESTIONS AND ANSWERS For more visit: www.w3asp.net
  • 2. Q1. What is jQuery? Ans: jQuery is a JavaScript based library that makes using the JavaScript much easier for your web based applications. The jQuery is fast, much easy to use, small in size – around 32Kb, and contains a lot of features. The jQuery is cross platform compatible, i.e. supported by many popular browsers like Chrome, Firefox, IE, Safari and others. for more: www.w3asp.net For more visit: www.w3asp.net
  • 3. Q2. Why do we use jQuery? Ans: Here is a list of attributes that builds a case for why you should use jQuery: Easy to use and learn. Easily expandable. Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+) Easy to use for DOM manipulation and traversal. Large pool of built in methods. AJAX Capabilities. Methods for changing or applying CSS, creating animations. Event detection and handling. Tons of plug-ins for all kind of needs. For more visit: www.w3asp.net
  • 4. Q3. How JavaScript and jQuery are different? Ans: JavaScript is a language while jQuery is a library built in the JavaScript language that helps to use the JavaScript language. Q4. Is jQuery replacement of Java Script? Ans: No. jQuery is not a replacement of JavaScript. jQuery is a different library which is written on top of JavaScript. jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. For more visit: www.w3asp.net
  • 5. Q5. Is jQuery a library for client scripting or server scripting? Ans: Client side scripting. Q6. Does jQuery follow W3C recommend- ations? Ans: No. Q7. What is the basic need to start with jQuery? Ans: To start with jQuery, one needs to make reference of its library. The latest version of jQuery can be downloaded from jQuery.com. For more visit: www.w3asp.net
  • 6. Q8. Which is the starting point of code execution in jQuery? Ans: The starting point of jQuery code execution is $(document).ready() function which is executed when DOM is loaded. Q9. What does dollar sign ($) means in jQuery? Ans: Dollar Sign is nothing but it's an alias for JQuery. Take a look at below jQuery code- $(document).ready(function(){ }); Over here $ sign can be replaced with "jQuery" keyword. jQuery(document).ready(function(){ }); For more visit: www.w3asp.net
  • 7. Q10. Can we have multiple document.ready() function on the same page? Ans: YES. We can have any number of document.ready() function on the same page. Q11. Can we use our own specific character in the place of $ sign in jQuery? Ans: Yes. It is possible using jQuery.noConflict(). For more visit: www.w3asp.net
  • 8. Q13. What is jQuery.noConflict? Ans: As other client side libraries like MooTools, Prototype can be used with jQuery and they also use $() as their global function and to define variables. This situation creates conflict as $() is used by jQuery and other library as their global function. To overcome from such situations, jQuery has introduced jQuery.noConflict(). jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); You can also use your own specific character in the place of $ sign in jQuery. var $j = jQuery.noConflict(); // Use jQuery via jQuery(...) $j(document).ready(function(){ $j("div").hide(); }); For more visit: www.w3asp.net
  • 9. Q14. Is there any difference between body onload() and document.ready() function? Ans: document.ready() function is different from body onload() function for 2 reasons. 1. We can have more than one document.ready() function in a page where we can have only one body onload function. 2. document.ready() function is called as soon as DOM is loaded where body.onload() function is called when everything gets loaded on the page that includes DOM, images and all associated resources of the page. For more visit: www.w3asp.net
  • 10. Q15. What is the difference between .js and .min.js? Ans: jQuery library comes in 2 different versions Production and Deployment. The deployment version is also known as minified version. So .min.js is basically the minified version of jQuery library file. Both the files are same as far as functionality is concerned. But .min.js is quite small in size so it loads quickly and saves bandwidth. For more visit: www.w3asp.net
  • 11. For more visit: www.w3asp.net You can get more stuff regarding asp.net, jQuery, SQL SERVER, C#,AJAX, winforms on www.w3asp.net