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 Posted / 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 |
Post New Answer View All Answers
How to remove the event listener?
How will you explain closures in javascript? When are they used?
Is python better than javascript?
What is use of flutter?
How do I open javascript in chrome?
What do mean by NULL in Javascript?
Is javascript object oriented?
How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...
How to toggle display an html element?
What is the use of the ‘this’ keyword?
How many data types are there in javascript?
Explain higher-order functions in javascript?
What is the data type of variables in javascript?
How can javascript codes be hidden from old browsers that don't support javascript?
Can javascript code be broken in different lines?