Guys I need your helps please let me the difference between Java script and J Query.
Guys I need your helps please let me the difference between Java script and J Query.
J query is just library of java-script..
JavaScript is a scripting language that was designed for use within a web browser. Typically, JavaScript is used for interface interactions. Slideshows and other interactive components are typically done using JavaScript.
JQuery is simply a specific library of JavaScript code. There are many other JavaScript code libraries such as MooTools, but jQuery has become the most popular because it is so easy to use and extremely powerful.
Which is the best JavaScript or JQuery is a contentious discussion, really the answer is neither is best. They both have their roles I have worked on online applications where JQuery was not the right tool and what the application needed was straight JavaScript development. But for most websites JQuery is all that is needed. What a web developer needs to do is make an informed decision on what tools are best for their client. Someone first coming into web development does need some exposure to both technologies just using JQuery all the time does not teach the nuances of JavaScript and how it affects the DOM. Using JavaScript all the time slows projects down and because the JQuery framework has ironed most of the issues that JavaScript will have between each web browser it makes the deployment safe as it is sure to work across all platforms.
JavaScript is a language.
jQuery is a library built with JavaScript to help JavaScript programmers by extending JavaScript functionality or by making things easier then in raw JavaScript.
Furthermore the JavaScript implementation is some sort of different in each target browser. jQuery is almost cross browser supported.
Means same code runs in most of the browsers.
JavaScript is a language. Example: JQuery like a foriegn language which is already built by Javascript which is unknown to you what kind of JS is written there, you are just using it.
Thanks for the information I was thinking that Jquery is the advanced version of JavaScript and both are something similar like html and html5. Now I also got the clear view.
web designing company in Hyderabad | best urologist in Hyderabad urologist Hyderabad, best urologist Hyderabad, urology | visit for website design in Hyderabad, Web design | website design company in Hyderabad
JavaScript is a language. Example: JQuery like a foriegn language which is already built by Javascript which is unknown to you what kind of JS is written there, you are just using it.
JQuery is a framework built with JavaScript to help JavaScript programmers who are doing common web tasks. Example: But if you goto a country where it is spoken, a guide can still help you along, making your journey easier. jQuery is one of many frameworks which provide help in areas that can be frustrating when writing plain JavaScript.
JavaScript is a language and Jquery is a library which is already built in JavaScript programmers who are doing the common web tasks. Jquery is a framework for writing the javascript task in more easier way.
jQuery was written by using the JavaScript, and It is a library which is used by JavaScript.We cannot learn jQuery without learning JavaScript.
JavaScript
- A dynamic programming language that is weakly typed
- A scripting language for controlling the document content and interface interaction
- JavaScript an interpreted language
- Developers write their own code to handle multi-browser compatibility in JavaScript
- Do not need to add any additional plugins as all browsers support JavaScript
- Too many code lines or lines of code
- DOM can be accessed faster
function changeColor(color) {
document.body.style.background = color;
}
Onload=”changeColor('blue’);”
JQuery
- A concise and fast JavaScript library
- JQuery is a framework that makes Ajax interaction, event handling and animating faster and simpler
- It uses resources of JavaScript to make things and task simpler and easier
- Need not to worry about multi-browser compatibility issues
- You may have to include jQuery library URL in the header of the page
- Fewer lines of code
- It is best for complex operations where developers usually make mistakes and write poor lines of code
$ (‘body’) .css (‘background’, ‘#0000FF’);
|
Bookmarks