CIW 1D0-435 - CIW JavaScript Fundamentals exam
What willthe following JavaScript code do when it runs?
<SCRIPT Language="JavaScript">
<!--
var d=new Date;
var h=d.getHours();
var msg="";
var targ;
if(h<12)
msg="<h1>Good Morning!</h1>";
else if(h>=12 && h<18)
msg="<h1>Good Afternoon!</h1>";
else
msg="<h1>Good Evening!<h1>";
document.write(msg);
/-->
</SCRIPT>
If the secure attribute is not used, the cookie is not deemed safe to be sent over unprotected channels.
A user can never delete or disable cookies
A button that changes its image on mouseover is an example of _______________.
Which of the following is the proper file extension for an external script file.
Creating your object references as elements of an array rather than creating individual variables will make them easier to use for repetitive tasks?
What should you use to evaluate multiple custom objects?
In JavaScript, ++x+ will add one to the value of x after the assignment is complete.
___________ is JavaScript's server-side solution. It enables you to connect Web pages to databases, as well as enable server-side image maps and save client state so that the computer will remember where the client is in a multi-page preocess.
Which of the following is a correct way in JavaScript to target the second frame in a frames array, assuming the name of the frame is "b"?