htmlDemo8 - XP Demo 8 Introduction to JavaScript XP Working...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 1 XP Working with JavaScript Demo 8 Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 2 XP Introduction to JavaScript • Server-side Programs pose problems • Client-side Programs were developed to run programs and scripts on the client side of a Web browser. Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 3 XP The Development of JavaScript JavaScript is a subset of Java. • Differences between Java and JavaScript: – Java is a compiled language – JavaScript is an interpreted language Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 4 XP Comparing Java and JavaScript Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 5 XP The Development of JavaScript Jscript is a version of JavaScript supported by Internet Explorer. • The European Computer Manufacturers Association (ECMA) develops scripting standards. – The standard is called ECMAScript but browsers still generally call it JavaScript. Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 6 XP Inserting JavaScript into a Web Page File • Outline the main tasks you want the program to perform first. • A JavaScript program can either be placed directly in a Web page file or saved in an external text file.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Demo 8 Adapted From New Perspectives on HTML and XHTML, Comprehensive Patrick Carey, Course Technology 7 XP Inserting JavaScript into a Web Page File • Insert a client-side script in a Web page when using the script element . Comments are useful for hiding scripts from older browsers. • Specify alternative content using the nonscript element for browsers that don’t support scripts (or have their script support disabled). Demo 8
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

htmlDemo8 - XP Demo 8 Introduction to JavaScript XP Working...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online