Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
: Lotus 190-804
Title
: Using JavaScript in IBM
Lotus Domino 8
Applications
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. Look at the following JavaScript function:
function clickButton
{
document.forms[0].submitMe.onclick( )
}
Which one of the following will this function do?
A.Run a global JavaScript function named onclick( ).
B.Run the onclick event of an object named submitMe.
C.Place the cursor in an input on the form named submitMe.
D.Run a JavaScript function named onclick( ) that is on a form object named submitMe.
Answer: B
2. Uma has written the following code to compare two values in the form onSubmit event:
resp=document.forms[0].city.value;
if (resp = 'Boston')
{
alert ("You are from Boston.");
} else {
alert ("You are not from Boston.");
};
Uma tests her form. However, every time she saves it, the alert says "You are from Boston.", even when
she enters "New York". Which one of the following causes this to happen?
A.The form name should be used to reference the form.
B.The city field on the form is named "City", not "city".
C.The comparison operator to test equality should be "==".
D.There is no "End If" at the end of the If statement block.
Answer: C
3. Bob sees the following in a JavaScript function marked as pass-thru HTML code in a form:
alert("Client Platform: " + "")
What code in the Computed Text area would display the client platform for Bob?
A.@If(@ClientType = "Notes";"Notes";"Web")
B.@If(@BrowserType = "Notes";"Notes";"Web")
C.@If(@ClientType = "IE";"Internet Explorer";@ClientType = "Mozilla";"Mozilla";"Notes")
D.@If(@BrowserVersion = "IE";"Internet Explorer";@BrowserVersion = "Mozilla";"Mozilla";"Notes")
Answer: A
4. Seymour wants to write some JavaScript that will be triggered every time a user moves the mouse over a
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.co