DBA > Job Interview Questions > Technical Lead Round Interview Questions and Answers

javascript Job Interview in Technical Lead Round

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

javascript Job Interview in Technical Lead Round: How to use client side resolution like width and height in the javascript

first you have to find the resolution after that you can modify your application gui issues

below i mentioned the code to retrive the resolution using JS
/*************************************************/
function GetResolution(){
var width=screen.width;
var height=screen.height;
document.getElementById("hdnresolutionwidth").value=width;
document.getElementById("hdnresolutionheight").value=height;
}
/*********************************************************/

from this hdn values you can use and chage the GUI settings in your application

(Continued on next question...)

Other Job Interview Questions