What are the different ways in which we can use the link
tag ? Illustrate with an example. Is it possible to link a
file with another file on a different file server ? If yes,
how ?
Answer / gayathri
<html>
<head>
<script language="javascript">
function sample()
{
window.open("test.htm",width='200,height=150,resizable=yes')
}
</script>
</head>
<body>
<a href="javascript:sample()">click Here </a>
</body>
</html>
Is This Answer Correct ? | 1 Yes | 0 No |
Do unused imports affect performance javascript?
What is this keyword?
9 Answers Cognizant, Infosys, Satyam,
How generic objects can be created?
Will javascript be replaced?
What is the difference between java and java script?
Why global variables are bad javascript?
What is the main difference between Client side JavaScript and and Server side Java Script?
Are java and javascript the same?
What are disadvantages of using javascript?
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 the difference between remove() and removeChild()?
How to disable an html object ?