S.No JavaScriptjQuery1Meaning:JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari.Meaning:JQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.2 Composed of:JavaScript is a combination of ECMA Script and Document Object Model (DOM).Composed of:jQuery has Document Object Model (DOM).3 Web-based application creation:JavaScript has many processes in creating web based applications.Example:Two JavaScript function to change the background color with the onload function that would need to placed into the body tagfunction changeBackground(color) {document.body.style.background = color;}onload="changeBackground('red');"Note:If we use this unstructured code then there is many problems to validate the html source of web page. So JQuery is best to use and easy to understand.Web-based application creation:Creating a web based application using jQuery becomes easier.Example:One JQuery changing the background color of a body tag$('body').css('background', '#ccc');4 Animation Creation:Animation Creation:
Showing posts with label interview questions. Show all posts
Showing posts with label interview questions. Show all posts
Tuesday, 22 January 2013
Difference between JavaScript and jQuery
Convert SVG to PNG using svg.dll
<div id="divsvg"> <svg width="350" height="300"><defs></defs> ............
-
< html xmlns ="http://www.w3.org/1999/xhtml"> < head > < title > Add blinking effect to text in jQuery ...
-
string contents = File.ReadAllText(HttpContext.Current.Server.MapPath("user.htm")); string receiptString = this.GetReceiptString...
-
I have solved my problem deleting my temporary files in both .net frameworks folders C :\ Windows \ Microsoft . NET \ Framework \...