IBM
LOT-410 · Question #17
LOT-410 Question #17: Real Exam Question with Answer & Explanation
Sign in or unlock LOT-410 to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.
Question
Which is the correct way to compute a client-side JavaScript variable fullName from two fields on a datasource firstName and lastName?
Options
- Avar fullname = "#{javascript:document1.firstName + ' ' + document1.lastName;}";
- Bvar fullname = "#{javascript:document1.getDocument().firstName + ' ' + document1.getDocument().lastName;}";
- Cvar fullname = "#{javascript:document1.getItemValue('firstName') + ' ' + document1.getItemValue('lastName');}";
- Dvar fullname = "#{javascript:document1.getItemValueString('firstName') + ' '
Unlock LOT-410 to see the answer
You've previewed enough free LOT-410 questions. Unlock LOT-410 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.