You need to ascertain how the webpage responds when the…

HOTSPOT
You test a webpage that contains the following JavaScript code:

The webpage also contains the following markup:

You need to ascertain how the webpage responds when the user enters characters and then clicks the add and
divide buttons.
For each statement in the table, select Yes if the action causes the webpage to behave as described. Select No
if it does not. Make only one selection in each column.
Hot Area:

HOTSPOT
You test a webpage that contains the following JavaScript code:

The webpage also contains the following markup:

You need to ascertain how the webpage responds when the user enters characters and then clicks the add and
divide buttons.
For each statement in the table, select Yes if the action causes the webpage to behave as described. Select No
if it does not. Make only one selection in each column.
Hot Area:

Answer:



Leave a Reply 8

Your email address will not be published. Required fields are marked *

8 + 14 =


gerg

gerg

Anyone able to tell why the first one is ‘No’ ? To me it sounds like it should be ‘Yes’…

fbasa

fbasa

it always displays value of int1 regardles value of int2

fbasa

fbasa

sorry, it simply concat values,

Repo

Repo

String + String is a string as output.

lully

lully

firs statement: result: 23 (concatenation)
second statement result: infinity (unhandled exception…handled function isn’t called…)
third statement: result: ‘there has been…’

Roman

Roman

1 – NO (it adds strings by concat)
2 – NO (result is infinity)
3 – NO (result is NaN)

Repo

Repo

all are no!!