Javascript: Introduction To Scripting
Javascript: Introduction To Scripting
JavaScript: Introduction
to Scripting
Topics Covered
<script> tag
Indicate that the text is part of a script
type attribute
Specifies the type of file and the scripting language use:
Value: text/javascript
\' Single quote. Used to represent a single quote character in a string. For
example,
window.alert( '\'in quotes\'' );
displays 'in quotes' in an alert dialog.
Subtraction - pc p - c
Multiplication * bm b * m
Division / x / y or or xy x / y
Remainder % r mod s r % s
Fig. 7.12 Arithmetic operators.
welcome6.html
(3 of 3)
Order of Precedence for the Basic
Operators