Books
in black and white
Main menu
Home About us Share a book
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

Javascript for dummies. Quick Reference - Vander

Vander Javascript for dummies. Quick Reference - Wiley Publishing, 2002. - 115 p.
Download (direct link): javascriptquickreference2002.pdf
Previous << 1 .. 64 65 66 67 68 69 < 70 > 71 .. 72 >> Next

plug-in objects accessing with JavaScript, 32-33 for animation, 165 described, 67 description property, 130 documentation, 168, 169 embedding in HTML files, 168 Envoy document management, 168 filename property, 132 JavaScript syntax, 39 name property, 138 specific values, 169 plugins array, 140
plus sign (+), in assignment operators, 47 polymorphism, 200 pop-up messages, 181-182 port address, 133 port property, 140-141 port value, default, 141 pow() method, 110 prompt() method, 110, 181-182 properties, 126, 138, 146, 147, 200 See also names of specific properties; objects protocol property, 141 prototype property, 141 public keyword, 200 punctuation in JavaScript, 40
a_____________________________________
question mark (?), in search values, 142
R_____________________________________
radio buttons checked property, 128 click() method, 97 defaultChecked property, 129 defining for interactive forms, 24-25 described, 67-68 implementation, 139 JavaScript syntax, 38 name property, 138 onClick event handler, 154 type property, 146 value property, 147 radix argument, 86-87 random() method, 111 referrer property, 142 relational operators, 49 reload() method, 111 reset() method, 112 reset objects described, 68 for interactive forms, 25 JavaScript syntax, 38 name property, 138
08 JavaScript For Dummies Quick Reference
reset objects (continued) onClick event handler, 154 type property, 146 value property, 147 result strings, 46 reverse() method, 112 RGB triplet values, 148, 191 round() method, 112
5_________________________________________
<SCRIPT> tag accessing source code, 177 defining, 13-14 scripts, 200 scroll() method, 113 scrolling text, displaying, 170-171 search property, 142 seconds, specifying, 103-104, 115 select() method, 113 select objects described, 68-69 JavaScript syntax, 38 name property, 138 onBlur event handler, 151-152 onChange event handler, 152-153 onFocus event handler, 155-157 options array, 139 selectedlndex property, 143 type property, 146 <SELECT> element, defining interactive forms, 25-26 selected property, 143 selectedlndex property, 143 self property, 143 See also window property servers See Web servers setDateQ method, 113-114 setHours() method, 114 setMinutes() method, 114 setMonth() method, 114 setSeconds() method, 115 setTimeQ method, 115 setTimeout() method, 115-116 setYear() method, 116 Shockwave for Director, Macromedia, 165 showHelp() function, 160 sin() method, 116 single quote ('), surrounding string values, 40 slash+asterisk (/*)
HTML comments, 18 JavaScript comments, 42 small() method, 117 sort() method, 117 sound, in Web pages, 165 source code order, 131, 132, 135-136
source files, 177, 180, 201 special characters, encoding with escape() function, 84 special comments characters, 177-178 spelling, 41-42, 82 split() method, 118 sqrt() method, 118 SQRT1_2 property, 144 SQRT2 property, 144 square brackets ([]), with conditional expressions, 43, 88 SRC attribute, 177 src property, 144 Start Over button, Netscape PowerStart, 179 state, 201 See also objects status bar, setting value for, 159 status property, 144 strike() method, 118 string arguments with escape( ) function, 84 with methods, 92 with parseFloat() function, 86 with parselnt( ) function, 87 with unescape() function, 87 string data type, syntax, 37, 79 String objects big() method, 95 described, 79-80, 201 fontcolor() method, 164 indexOfQ method, 105-106 small() method, 117 split() method, 118 strike() method, 118 sub() method, 119 substringQ method, 119-120 sup() method, 120 toLowerCase() method, 121 toString( ) method, 121-122 toUpperCase() method, 122 String operators, 52 sub() method, 119 submit buttons click() method, 97 described, 69 in interactive forms, 27, 34 JavaScript syntax, 38 name property, 138 onClick event handler, 155 type property, 146 value property, 147 submitO method, 119 substring() method, 119-120 substrings, 201
subtraction (-=), JavaScript assignment operator, 47
subtraction (-), JavaScript mathematical operator, 49 suffixes property, 144 sup() method, 120 syntax
ActiveX component, 15-16 anchors, 19-20 arrays, 74
buttons for interactive forms, 22 check boxes for interactive forms, 22-23 custom JavaScript functions, 88-90 Date utility objects, 75 described, 201
fileUpload element for interactive forms, 23 frames, 19
Function utility objects, 77
hidden element in interactive forms, 23
HTML comments, 18
HTML elements, 5-7
hypertext links, 20
<IMG> tag, 17
<INPUT> element, 21-25
interactive forms, 13
Java applets, 30-31
JavaScript, 40-42
Option utility objects, 78
password object in interactive forms, 24
plug-ins, 32-33
radio buttons in interactive forms, 24-25 reset object in interactive forms, 25 <SELECT> element, 25-26 string objects, 37, 79 submit buttons, 27, 34 text elements, 27-28 <TEXTAREA> element, 28-29 variable scope, 54
T __________________________________________
tags, in HTML, 6-7, 201 See also HTML (HyperText Markup Language) tan() method, 120 target property, 145 template, 201 See also HTML (HyperText Markup Language) texicographic order, 117 TEXT attribute, fgColor property, 131 text color, 164
Previous << 1 .. 64 65 66 67 68 69 < 70 > 71 .. 72 >> Next