The Function Key F10 activates Menu bar options...
True
False
Java script case sensitive
Java script does not provide error handling through try-catch block
What are the ways to assign event handlers in java script (for example, to show a message box while closing the window) ?
window.onunload=function() { alert('closing'); }
window.onunload+=onClose; function onClose() { alert('closing'); }
window.onunload=onClose; function onClose() { alert('closing'); }
All the above
How will you make a function to execute after 4 seconds ?
setTimeout('functionname()',4)
setTimeout('functionname()',4000)
setTimeout('functionname()',400)
None
How will you get the html object in java script using its ID ?
var obj=document.findControl('controlId');
var obj=document.getObjectById('controlId');
var obj=document.getElementById('controlId');
var obj=document.getObject('controlId');
From the current browser window, how to change the URL of the browser window which opened this current window ?
window.parent.location='newpage.html'
window.top.location='newpage.html'
window.opener.location='newpage.html'
Cannot be done
How to check if a value is a number?
if (isNumeric(numberVar)) {}
if (!isNaN(numberVar)) {}
if (isNumber(numberVar)) {}
if (type(numberVar)=='Number') {}
What is the root element in hibernate.cfg.xml?
None of the above
Which of the following is true?
Every table must have a separate mapping file
Only parent table needs separate mapping fie
Only child table need separate mapping file
One mapping file can have mappings for one or more table.