JQuery “write less, do more”. jQuery - Introduction Simply a JavaScript library to simplify JavaScript programming itself Wraps long standard JavaScript.

Slides:



Advertisements
Similar presentations
Getting Started with jQuery. 1. Introduction to jQuery 2. Selection and DOM manipulation Contents 2.
Advertisements

Jax Code Camp 2010 Good morning. iPhone Dev How to develop for the iOS 4.
CS428 Web Engineering Lecture 15 Introduction to Jquery.
JQuery. What is jQuery? jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversing and manipulation event handling.
Philly.NET Hands-On jQuery + Plug-ins Bill Wolff, Rob Keiser.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Anatomy of an App HTML, CSS, jQuery, jQuery Mobile CIS 136 Building Mobile Apps 1.
JQuery Refactoring how we think about client-side scripting Andrew Roazen Cline Library Technology Services February 8, 2011.
Definition from Wikipedia.  The Prototype JavaScript Framework  implemented as a single file of JavaScript code  named prototype.js (
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
JQuery 10/21. Today jQuery Some cool tools around the web JavaScript Libraries Drawing libraries HTML Frameworks Conventions.
A really fairly simple guide to: mobile browser-based application development (part 4, JQuery & DOM) Chris Greenhalgh G54UBI / Chris Greenhalgh.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
CSS/Photoshop Layouts – Quiz #7 Lecture Code:
JQUERY | INTRODUCTION. jQuery  Open source JavaScript library  Simplifies the interactions between  HTML document, or the Document Object Model (DOM),
Review IDIA 619 Spring 2013 Bridget M. Blodgett. HTML A basic HTML document looks like this: Sample page Sample page This is a simple sample. HTML user.
JQuery Write less, do more…. Lecture Plan jQuery – what and why The ready function Creating Content Changing Elements Applying CSS Applying functions.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Jquery Nasrullah. Jquery jQuery is a JavaScript Library. jQuery greatly simplifies JavaScript programming. jQuery is easy to learn.
INTRODUCTION TO HTML5 Using jQuery with HTML5. Introducing jQuery  Although it is not a part of any W3C or WHATWG specification, jQuery performs an important.
JavaScript Frameworks Presented by Kyle Goins Also see:
Animation & Effects Using JQuery. What is jQuery? jQuery is a lightweight, JavaScript library. The purpose of jQuery is to make it much easier to use.
Unleash the Power of jQuery Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
JQuery Introduction © Copyright 2014, Fred McClurg All Rights Reserved.
Browser scripting jQuery Edited by: Trần Thị Mỹ Dung Ref:w3schools.com.
JavaScript Library. What is jQuery jQuery is a lightweight JavaScript library. The purpose is to make it easier to use JavaScript code on your website.
Unleash the Power of jQuery Learning & Development Team Telerik Software Academy.
JQuery JavaScript is a powerful language but it is not always easy to work with. jQuery is a JavaScript library that helps with: – HTML document traversal.
Creating Dynamic Webpages
JavaScript Introduction. Slide 2 Lecture Overview JavaScript background The purpose of JavaScript A first JavaScript example Introduction to getElementById.
JQuery Overview Unleash the Power of jQuery SoftUni Team Technical Trainers Software University
Intro to jQuery. What is jQuery? A JavaScript library Lightweight (about 31KB for the minified version) Simplifies HTML document traversing (DOM), event.
IS2802 Introduction to Multimedia Applications for Business Lecture 07: Introduction to jQuery Rob Gleasure
Unit 13 –JQuery Basics Instructor: Brent Presley.
Introduction to jQuery. 2 Objectives When you complete this chapter, you will be able to: Select elements using jQuery syntax Use built-in jQuery functions.
Web Technologies Lecture 8 JQuery. “A fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax.
SHAREPOINT & JQUERY. Hi, my name and I am a product manager at lightning tools. I have been working with SharePoint for 5 years.
Introduction to JQuery COGS 187A – Fall JQuery jQuery is a JavaScript library, and allows us to manipulate HTML and CSS after the page has been.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
SharePoint & jQuery. About me Phill Duffy – Product Manager at Lightning Tools Ltd – Author of ‘Pro SharePoint with jQuery’ – MCTS Application Developer.
JQuery is a fast, small, and feature-rich javascript library. It makes things like HTML document traversal and manipulation, event handling, animation,
JQuery.
JQuery Fundamentals Introduction Tutorial Videos
What is jQuery?.
Tek Raj Chhetri Code for Humans not for machine.
Unleash the Power of jQuery
Intro to jQuery jQuery is a popular, and extensible, JavaScript library Supports … DOM manipulation CSS manipulation HTML event methods Effects & animations.
Introduction to Web programming
JQuery Basics 소속 / 작성자 이 문서는 나눔글꼴로 작성되었습니다. 설치하기.
JQuery.
JQUERY Online TRAINING AT GOLOGICA
The Cliff Notes Version
Getting started with jQuery
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
JQuery with ASP.NET.
JavaScript and the DOM MIS 2402 Jeremy Shafer Department of MIS
MIS JavaScript and API Workshop (Part 2)
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
Getting started with jQuery
E-commerce Applications Development
Document Object Model.
An introduction to jQuery
An introduction to jQuery
Murach's JavaScript and jQuery (3rd Ed.)
SEEM4540 Tutorial 3 jQuery Wong Wai Chung.
Murach's JavaScript and jQuery (3rd Ed.)
JQuery.
JavaScript and the DOM MIS 2402 Maxwell Furman Department of MIS
Presentation transcript:

jQuery “write less, do more”

jQuery - Introduction Simply a JavaScript library to simplify JavaScript programming itself Wraps long standard JavaScript code lines for common client script tasks into new simple function calls

jQuery - Installation Download the library from jQuery.com and include the library in the header section of HTML document as follows: Directly include the library from the Google or Microsoft CDN (Content Delivery Network):

jQuery – Basic Scripting Accessing HTML elements Set or get HTML element properties Handle HTML element events Traverse HTML elements as nodes

jQuery – Basic Scripting Structure Accessing HTML elements: $(selector).action(task); selector : HTML tag name, class, id, and DOM generic reference name action : jQuery functions represent events or properties of the element referred by selector task : script logic or call to other previously defined callback function (mostly implemented inside anonymous function)

jQuery – Basic Scripting Structure Accessing HTML elements: The most common is access to current active document after all the elements inside the document is ready $(document).ready( function() { alert("Ok document is ready…"); } ); See how the alert built-in function is called inside the anonymous function

jQuery – Basic Scripting Structure Nested HTML elements access (quite ambiguous): $(document).ready( function() { alert("Ok document is ready…"); $(selector).action( function() { other tasks... } ); } );

jQuery – Basic Scripting Structure Nested HTML elements access (less ambiguous approach): $(document).ready( function() { alert("Ok document is ready…"); myTask(); } ); function myTask { $(selector).action( function() { other tasks... } ); }

jQuery – Selector Elements The possible elements to be a selector – document – this – "html_tag_name" – ".class_name" – "#id_name" – "html_tag_name.class_name" – "html_tag_name#id_name"

jQuery – Selector Elements HTML element access examples: Acer ??? $("h2").css("color", "blue"); $("h2#htc").text("hTc"); $("h2").click( function() { $(this).css("color", "red"); } );