Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSC 2720 Building Web Applications JavaScript. Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript.

Similar presentations


Presentation on theme: "CSC 2720 Building Web Applications JavaScript. Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript."— Presentation transcript:

1 CSC 2720 Building Web Applications JavaScript

2 Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript is an implementation of the ECMAScript standard.  The ECMAScript only defines the syntax/characteristics of the language and a basic sets of commonly used objects such as Number, Date, Regular Expression, etc.  The JavaScript supported in the browsers typically support additional objects.  e.g., Window, Frame, Form, DOM object, etc.

3 JavaScript / JScript  Different brands or/and different versions of browsers may support different implementation of JavaScript.  They are not fully compatible  JScript is the Microsoft version of JavaScript.

4 What can we do with JavaScript?  To create interactive user interface in a web page (e.g., menu, pop-up alert, windows, etc.)  Manipulating web content dynamically  Replace images on a page without reload the page  Change text or styles  Hide/Show contents  Generate HTML contents on the fly  Form validation  AJAX (e.g. Google complete)  etc.

5 Useful Resources and Interesting Examples  JavaScript Tutorials  http://www.w3schools.com/ http://www.w3schools.com/  Some examples from W3Schools  JavaScript Examples JavaScript Examples  JavaScript Object Examples JavaScript Object Examples  JavaScript HTML DOM Examples JavaScript HTML DOM Examples  JavaScript DHTML GUI Components  http://www.java2s.com/Code/JavaScript/GUI- Components/CatalogGUI-Components.htm http://www.java2s.com/Code/JavaScript/GUI- Components/CatalogGUI-Components.htm  EditGrid  http://www.editgrid.com/ http://www.editgrid.com/


Download ppt "CSC 2720 Building Web Applications JavaScript. Introduction  JavaScript is a scripting language most often used for client-side web development.  JavaScript."

Similar presentations


Ads by Google