|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#11. When Jason selects an alternate name from displayed Ship To Address field, he picks "Mr. Jorden". Mr. Jorden works at Creative computing, 1 United Way, New York, NY, 10101, PH# 999- 999-9999, fax# 999-999-9999, email: Support@Company.com. After selecting "Mr. Jorden" from the list, the get keyval( ) function is triggered. Function getkeyval( ) { var win Opener = window. Opener.document .forms[0]; with (window.document. Forms.[0]. Ship TOAddress) } var addr1 =options [selectedindex]. Value; var addr2 = addr1. spilt ("~") win Opener. Ship TOContact. Value = addr2[0] win Opener. Ship TOCompany. Value = addr2[2] win Opener. Ship TOAdd1. Value = addr2[2] win Opener. Ship TOAdd2. Value = addr2[3] win Opener. Ship TO add3. Value = addr2[4] win Opener. Ship TOCity. Value = addr2[5] win Opener. Ship TOState. Value = addr2[6] win Opener. Ship TOZip. Value = addr2[7] win Opener. Ship TOCountry. Value = addr2[8] win Opener. Ship TOPhone. Value = addr2[9] win Opener. Ship TOFax. Value = addr2[10] win Opener. Ship TOEmail. Value = addr2[5] { }
When one of the following variables descriptions is true?
Show comments for this question (0)
Add comments
Link to this question
|
|
#13. The following statements appear in a function Pat writing to calculate how many weeks before a video is released. If (numDays < = 7) //First Condition {varMsg = "The video will be released this week". } else if (numDays > 7) && (numDays < = 14)) //Second Condition {varMsg = "The video will be released in 2 weeks"; } else if (numDays > 14) && (numDays < = 21)) //Third Condition {varMsg = "The video will be released in 3 weeks"; } else if (numDays > 21) && (numDays < = 28)) //Fourth Condition {varMsg = "The video will be released in 4 weeks"; } else varMsg = "The video will be released in next month"; } alert(varMsg);
When Pat tests button that calls the function, which one of the following will occur?
Show comments for this question (0)
Add comments
Link to this question
|
|
#18. Devon has placed the following code in the JS Header event of a form: function userConfrim( ) { if (confirm("Do you wish to continue")) { promptUser( ); } } function promptUser ( ) { x = prompt("please enter some text", ""); alert (x); }
There is a button on the form where the onClick event is: user Confirm( ). Which one of the following will happen when the user chooses "Yes" in the confirmation prompt?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.249
|
Server date 21:43 07-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|