




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
use the document to very use full
Typology: Study notes
1 / 233
This page cannot be seen from the preview
Don't miss anything!





























































































Starting No. Ending No. JavaScript 1 47 47 1 40 40 VBScript 48 84 37 41 80 40
VBScript 85 101 17 81 91 11
JavaScript 102 122 21 92 104 13
123 155 33 105 150 46
PHP 156 214 59 151 203 53 215 229 15 204 207 4
Total Number of Pages Example Programs Total Numberof Programs Index Page (PHP)
Units Particulars Starting Page^ Ending Page
Java Script was released by Netscape and Sun Micro system in the year 1995, Java script is not similar like java.
Client-side JavaScript is the most common form of the language. The script should be included in HTML document for code to be interpreted by the browser. Web pages need not be a static HTML, it can include programs interact with the user, control the browser, and dynamically create HTML content. JavaScript code is executed when the user submits the form, and only if all the entries are valid, they would be submitted to the Web Server. JavaScript can be used to trap user-initiated events such as button clicks, link navigation, and other actions that the user initiates explicitly or implicitly.
Dreamweaver is a web design and development application that combines a visual design surface known as Live View and a code editor with standard features such as syntax highlighting , code completion , and code collapsing. Combined with an array of site management tools, Dreamweaver lets its users design , code and manage websites as well as mobile content. Dreamweaver supports syntax highlighting for the following languages Action Script, Active Server Pages (ASP), C#, Cascading Style Sheets (CSS), ColdFusion, Extensible Hypertext Markup Language (XHTML), Extensible Markup Language (XML), Extensible Style sheet Language Transformations (XSLT), Hypertext Markup Language (HTML), JavaScript, PHP, Visual Basic Script Edition (VBScript) and Wireless Markup Language (WML).
variable replacement when used.
VBScript, VTML and XHTML. Syntax-coloring parser syntax and examples are available to help users.
check your code with the built-in Code Validator , or use CSE HTML Validator with UI integration.
local, searchable copies of standards, tutorials, language references , etc.
Ver Official Name Description 1 ECMAScript 1 (1997) First Edition. 2 ECMAScript 2 (1998) Editorial changes only. 3 ECMAScript 3 (1999) Added Regular Expressions. , Added try/catch. 4 ECMAScript 4 Never released. 5 ECMAScript 5 (2009) Added "strict mode". Added JSON support. Added String.trim(). Added Array.isArray().Added Array Iteration Methods. 5.1 ECMAScript 5.1 (2011) Editorial changes. 6 ECMAScript 2015 Added let and const. Added default parameter values. Added Array.find(). Added Array.findIndex(). 7 ECMAScript 2016 Added exponential operator (**).Added Array.prototype.includes. 8 ECMAScript 2017 Added string padding. Added new Object properties. Added Async functions. Added Shared Memory. 9 ECMAScript 2018 Added rest / spread properties. Added Asynchronous iteration. Added Promise.finally(). Additions to RegExp.
Java script code is difficulty embedded in the HTML, to be interpreted and run by the client browser. ❖ Java script is case-sensitive. ❖ White space between words and tabs are ignoring. ❖ Line breaks are ignored except within a statement. ❖ Java script statements end with semi-colon (;).
Java invented by James Gosling and Sun Microsystems Java Script invented by Brendan Eich. Java Powered by Sun Micro System, Open JDK, many others Java Script powered by Netscape Navigator Java released in 1995 Java Script released in 1995 Java score must have parsed, compiled (not interpreter) into object code can be run any platform (operating system & not necessary a browser) having the JRE. Java Script codes are interpreter language Java creates an application that runs java virtual machine or browser. (^) Java programs runs in only Web-browser Java is an OOPS programming language. Java script is an OOPS script language. Java program code executed by compiled to byte code Java Script Codes are all in text, does not need to be compiled Java programs statement terminated by Semicolon(;) Java Script programs also same Java codes needs to be complied Java Script code all in text they require different plug-in.
** (or)
The script tag takes are important attributes:
** Java Script Program
This is My First JavaScript Program**
** Arithmetic **
There are 3 message boxes: 1) alert 2) confirm 3) prompt Alert: **** Confirm: **** Prompt: ****
Java Script ignores spaces, tabs and new lines that appear in java script programs. Because you can use spaces, tabs and new line freely in your program so you are free to format and indent your programs in a neat and consistent use that makes the code easy to read and understand. Enter the First No. : 20 Enter the Second No.: 10 Sum = 30 Subtract = 10 Multiply = 200 Division = 2
Script Enabled**
**
**
This is advantageous to group common functions in an external JavaScript file. This permits the reuse of the functions in the file in multiple HTML pages. JavaScript functions are stored in a file using the .js extension. Here is an example to show how you can include an external JavaScript file in your HTML code using script tag and its src attribute.
function multiply(num1, num2) { return num1*num2; } //Index1.html
JavaScript Example
Hello World Hello World 12
Storing a value in a variable is called variable initialization. You can do variable initialization at the time of variable creation or at a later point in time when you need that variable.
One of the most fundamental characteristics of a programming language is the set of data types it supports. These are the type of values that can be represented and manipulated in a programming language. JavaScript allows you to work with three primitive data types −
Let us take a simple expression 4 + 5 is equal to 9. Here 4 and 5 are called operands and ‘+’ is called the operator. JavaScript supports the following types of operators.
**1. Arithmetic Operators
Operator Description Example + Adds two operands. A+B=
- Subtract second operand from the first. B-A= ***** Multiply the both operands. A*B= / Divide numerator by divider. B/A= % Module Operator. B%A= ++ Increment Operator. Increase integer value by one. A++= -- Decrement Operator. Decrease integer value by one. A--=
**
Arithmetic Operator Program Output** a + b = 43 a - b = 23 a / b = 3. a % b = 3 a * b = 330 Test ++a = 35 --b = 8