|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#32. Jeff is creating a script that will change the background color of a form based on the value of a Field called inStock. The code fore the function is: function changecolor ( ) { var theBox = document.forms[0]. In stock. Value; if (the box = = "in") } alert ("The movie is in stock!") document.bgColor = 'blue'; } else if (the box = = "out."); { alert ("The movie is currently out."); document.bgColor = 'red'; } {
Which one of the following is true when the function is invoked and the movie is in?
Show comments for this question (0)
Add comments
Link to this question
|
|
#34. The following JavaScript code was placed in the onChange events for a listbox: var frm = document. Forms[0]; var sc = frm.SelectedVacation; var vacation = this; sc.value =""; <MISSIMG CODE> { sc.value = sc.value + vacation.options[I].text="/n"; } }
Which one of the following is the missing line of code?
Show comments for this question (0)
Add comments
Link to this question
|
|
#36. The following incomplete code segment was placed in the JS Header section of a form object: Function validate(field) { if (validateRuning) } validateRuning = false; return; } }
Once the function has been completed and tested, which one of the following will be its scope when running on a browser?
Show comments for this question (0)
Add comments
Link to this question
|
|
#38. Mary needs to close the frameset in the Web browser and open the Video Review from in a Frameless window. The button where she will enter the code is located in the second frame of the frameset. Which one of the following code segments does she enter in the onClick event of the button to accomplish this?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.131
|
Server date 22:00 07-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|