JavaScript Editor JavaScript Validator     JavaScript Editor 



Team LiB
Previous Section Next Section

Index

F

Fahrenheit to centigrade converter application. See also centigrade to Fahrenheit converter application
convertToCentigrade function, 94, 95–97
data, handling invalid, 91–92
degCent variable, 69–70, 798
degFahren variable, 69–70, 71
for statement usage, 86–88
function, defining custom in, 93, 95–96
if statement usage, 66–71, 73–74
logical operator usage, 71
looping, 86–88, 90, 91–92
operator precedence, 40–41
result, writing to page, 69–70
string/number value mixing, 44–45
user interface, 235, 812–813
value series, converting, 86–88, 91
fgColor property (document object), 930
field, database. See database, field
file download detector application, 616
File window (Venkman Debugger), 395
filename property (Plugin object), 630, 631
file1_onblur function, 642
FileUpload object, 932
film property (CustomerBooking class), 148
FinalResults.asp file, 778, 788, 790, 791–794
findIndex variable, 182
firstBooking variable, 148
firstChild property (Node object), 541, 545, 546
firstDay variable, 227
firstNumber variable, 798, 799
FirstVisit cookie, 429
fix function, 128, 156, 805–807
fixed method (String object), 919
fixNumber variable, 806
Flash plug-in
detecting, 630
embedding, 628–629, 637
extension associated with, 628
image quality, specifying, 629, 637
loading, 628–629
MIME type, 629
FloatingDiv style class, 847
floating-point number, 20, 47
floor method (Math object), 123, 124, 910
FLOW object, 604
focus event handling
onblur event
Button object, 927
Checkbox object, 209
described, 925
FileUpload object, 932
Layer object, 496
Password object, 939
Radio object, 209
Reset object, 941
Select object, 942
Submit object, 943
Text object, 194, 199, 204, 944
Textarea object, 945
window object, 946
onfocus event
Button object, 927
Checkbox object, 209
described, 925
FileUpload object, 932
form element object, 194
Layer object, 496
Password object, 939
Radio object, 209
Reset object, 941
Select object, 942
Submit object, 943
Text object, 199, 944
Textarea object, 945
window object, 946
focus method
Button object, 928
Checkbox object, 929
FileUpload object, 932
form element object, 194
Password object, 939
Reset object, 941
Select object, 943
Submit object, 943
Textarea object, 945
window object, 947
font. See text
font HTML tag, 446
fontcolor method (String object), 919
fontsize method (String object), 919
for in statement, 88–89, 894, 896
for statement, 85–88, 894
form. See also specific control
array, storing Form object in, 188–190, 930
ASP
checkbox data, handling, 678, 682
data sent via get method, handling, 685
data sent via post method, handling, 674, 685
select element data, handling, 677–678
submitting form in ASP environment, 868–869
text data, handling, 674–677, 678, 682–685
declaring, 188
DHTML, referencing in, 454–455
element object, 193–194
end point, declaring, 188
event handling
focus event, 194, 199, 204
mouse event, 196–197
onsubmit event, 190, 683, 925
Select element event, 221–228
focus, 194, 199, 204, 209
introduced, 187
list box, 192, 215
message board application, 880–881, 882–883
object in, hidden, 766, 934
referencing, 188, 202, 454–455, 930, 939
resetting, 191, 197–198, 941
start point, declaring, 188
submitting
ASP environment, in, 673, 674–677, 678, 683, 868–869
button, programming for, 194, 197–198, 683
CompBitsCo database application, 766–767
form tag coding for, 188, 716
HTML element placement considerations, 187
input box, using, 869
input tag coding for, 197–198
logon application, in, 702
onsubmit event, 190, 683, 925
scripting, in server-side, 868–869
submit method, using, 190, 202, 933
Trivia Quiz application, 717, 779
validating input data before, 203, 204, 873
text element, 191, 198–199, 201–203, 204–206
Trivia Quiz application, 228–229, 715–716, 717, 779
validating, 199–204, 684, 873
form feed escape sequence, 21
form HTML tag
action attribute, 188, 674, 716, 875
id attribute, 675
method attribute, 188, 674–677, 716
name attribute, 675
target attribute, 258
Form object
action property, 933
array, storing in, 188–190, 930
data checker, passing to, 194
DHTML, referencing in, 455
elements property, 190, 194, 933
encoding property, 933
length property, 190, 933
method property, 933
name property, 188, 190, 933
onreset event, 933
onsubmit event, 190, 683, 925
referencing, 202
reset method, 191, 933
submit method, 190, 202, 933
target property, 933
form property
Button object, 928
Checkbox object, 929
FileUpload object, 932
Hidden object, 934
Password object, 939
Radio object, 940
Request object, 675, 677, 768
Reset object, 941
Select object, 942
Submit object, 943
Text object, 944
Textarea object, 945
formElement variable, 817
formIndex variable, 190
Form_name property (document object), 930
formobject variable, 256
form1_onsubmit function, 683, 702, 766, 873
forms property (document object), 188–190, 930
forward method (history object), 161, 934
forward only cursor type recordset, 760
foundAtPosition variable, 119–120
fraGlobalFunctions frame, 280–283, 284
frame
array of frames in current window, returning, 249, 946
BOM frame area object, 159
child window, 239, 249
code of another frame, accessing, 247–250, 818–820
column, arranging in, 254
loading external, 224
method of another frame, accessing, 242–247
module, using frameset-defining page as, 242
naming, 241, 254
number of frames in window, returning, 946
page, multiple frames on same, 238–241
parent window, 239, 246, 248–249, 250–251
property of another frame, accessing, 242–247
referencing, 240, 246, 248–249, 255, 257
sizing, 240, 254
top property, 250–251
Trivia Quiz application
banner frame (menubar.htm), 272, 280
fraGlobalFunctions frame, 280–283, 284
fraMenubar frame, 279–280
frameset pages, 273, 274, 278–280
fraQuizPage frame, 274, 777
fraTopFrame frame, 278–279
globalfunctions.htm frame coding, 272, 280–283, 284–287
question frame (AskQuestion.htm), 272, 275–278, 283–284, 323, 328
quiz frame (QuizPage.htm), 272, 274–275, 283, 357–359, 715
variable value, keeping between frames, 244
window object, association with, 238–241
writing to another frame, 289, 818–820
frame HTML tag, 238
frame object, 933
fraMenubar frame, 279–280
frames property (window object), 249, 946
frameset HTML tag
cols attribute, 254
frame tag, relation to, 238
id attribute, 240
rows attribute, 240
FramesetPage.htm file, 244
frameset_page.htm file, 242, 245–246
fraQuizPage frame, 274, 777
fraTopFrame frame, 278–279
FreshBakedCookie.htm file, 416
fromCharCode method (String object), 117, 283
fromElement property (event object), 472
function. See also specific function
call stack, displaying when debugging, 386–389, 394–395
calling, 94, 95
closing, 368
code, splitting into, 16
creating, 93–100, 366–367, 368
described, 92
DHTML menu, creating using, 486–488, 513–514, 576–577
error caused by incorrect declaration, 366–367
event object, passing to, 498–499, 507, 568–569, 577
exiting, 94
invoking, 94
library, building, 94
method compared, 106
modal, 11
parameter, 11, 93, 94
stepping out of, 379
top-level, 899, 926
value, returning from, 94, 116
Function object, 906–907
function statement, 93, 894

Team LiB
Previous Section Next Section


JavaScript Editor JavaScript Validator     JavaScript Editor


©