Beruflich Dokumente
Kultur Dokumente
Cybarlab
Home Programming Framework Database Scripting HTML/CSS
02 Feb 2015
Search this site...
CRUD operations in
http://cybarlab.com/jquery-interview-questions-with-answers 1/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
1. Development
We know jQuery is open source and any one can modify it. During
modification development version is used. Its size is larger than
production versions.
2. Production/Deployment
The deployment version is minified or compressed. So it is
impossible to make changes in it. Its size is smaller than
development version. It is also faster than development versions.
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
JSON parsing
AJAX
Utilities
Extensibility
Multi-browser
$(document).ready(function(){
});
jQuery(document).ready(function(){
});
What is jQuery.noConflict?
Others client side libraries (MooTools, Prototype) can be used with
jQuery and they can also use $() as their global function and to define
http://cybarlab.com/jquery-interview-questions-with-answers 3/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
jQuery.noConflict();
// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery("div").hide();
});
We can also use our 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();
});
What is a CDN?
CDN (Content Delivery Network or Content Distribution Network) is a
large distributed system to serve content to end-users with high
availability and high performance through internet.
http://cybarlab.com/jquery-interview-questions-with-answers 4/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
The codes to load jQuery Framework from the Microsoft CDN is given
bellow:
<script type="text/javascript"
src="http://ajax.microsoft.com/ajax/jquery/jquery-1.9.1.min.js">
</script>
The codes to load jQuery Framework from jQuery site is given bellow:
<script type="text/javascript"
src="http://code.jquery.com/jquery-1.9.1.min.js">
</script>
http://cybarlab.com/jquery-interview-questions-with-answers 6/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
$(document).ready(function(){
if ($('#txtName').is(':empty')){
//Element is empty
}
});
$(document).ready(function(){
if ($('#txtName').length > 0){
//Element exists
}
});
$(<div/>) : creates a new div element. But this is not added to DOM tree
unless we dont append it to any DOM element.
http://cybarlab.com/jquery-interview-questions-with-answers 7/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
Related Posts
Comments
By venice
so good. its helpful.
on February 5, 2015 Reply
Leave a Reply
Comment
Name
Website
Post Comment
http://cybarlab.com/jquery-interview-questions-with-answers 8/9
8/9/2017 jQuery Interview Questions with Answers | Cybarlab
C# API
ASP.NET Interview
About
Contact
Sitemap
Terms of Use
Privacy Policy
http://cybarlab.com/jquery-interview-questions-with-answers 9/9