|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#2. The following Java Script function was create to check whether required data has been entered into a field: Var validate = validate (frm.First name) Function validate (fld) { if(frm.First name = ="") <MISSING LINE1> .... Java Script statements.... Return "value" <MISSING LINE2> }
Assuming that the code executes correctly, which one of the following describes what was placed on <MISSING LINE1>?
Show comments for this question (0)
Add comments
Link to this question
|
|
#5. A Java Script code segment was placed in the JS Header event of a form object. The beginning of that segment looked like the following: Function validate (field) { if (Validate Running) { validate Running = false; return; } }
When the function was called, it did not work correctly. Which one of the following would prevent this function from working properly?
Show comments for this question (0)
Add comments
Link to this question
|
|
#7. Ann has written the following code in the Submit button on click event: If (window. Document. Froms[0]. Email. Value = "") { alert ("please enter an email we can use to reply to your question."); window.document.forms[0].Email.focus( ) } else { }
When she runs it, the else statement is never executed. Which one of the following code change will correct the error?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.226
|
Server date 17:45 20-11-2008
|
Developed by Zip © 2006
|
|
 |
|
|