Tag: web technology

Questions Related to web technology

Java script does not provide error handling through try-catch block

  1. True

  2. False


Correct Option: B
  1. window.onunload=function() { alert('closing'); }

  2. window.onunload+=onClose; function onClose() { alert('closing'); }

  3. window.onunload=onClose; function onClose() { alert('closing'); }

  4. All the above


Correct Option: A,C
  1. setTimeout('functionname()',4)

  2. setTimeout('functionname()',4000)

  3. setTimeout('functionname()',400)

  4. None


Correct Option: B
  1. var obj=document.findControl('controlId');

  2. var obj=document.getObjectById('controlId');

  3. var obj=document.getElementById('controlId');

  4. var obj=document.getObject('controlId');


Correct Option: C
  1. window.parent.location='newpage.html'

  2. window.top.location='newpage.html'

  3. window.opener.location='newpage.html'

  4. Cannot be done


Correct Option: C
  1. if (isNumeric(numberVar)) {}

  2. if (!isNaN(numberVar)) {}

  3. if (isNumber(numberVar)) {}

  4. if (type(numberVar)=='Number') {}


Correct Option: B
  1. Every table must have a separate mapping file

  2. Only parent table needs separate mapping fie

  3. Only child table need separate mapping file

  4. One mapping file can have mappings for one or more table.


Correct Option: D