What is the difference between window and document in Javascript?
Answer / Uday Bhan Singh
The `window` object represents the entire browser, including the URL bar, tabs, and other UI elements. On the other hand, the `document` object refers to the HTML or XML document that was loaded within the browser. The `document` is a property of the `window` object.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to print a web page using javascript?
How does typeof operator work?
Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.
What is the need of javascript?
Is javascript open source?
What is an ECMAScript?
What is array explain it?
Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],
What is difference between scripting and programming?
What is scope variable in javascript?
Can you write a random integers function to print integers with in a range?
Explain typecasting in javascript?