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 will you get the checkbox status whether it is checked or not?
What is the difference between .call() and .apply()?
What does the delete operator do?
What are the Advantages and Disadvantages of JavaScript?
What is event bubbling in JavaScript?
How are DOM utilized in JavaScript?
How to read a cookie using javascript?
How to load another html page from javascript?
What is undefined x 1 in JavaScript?
Does javascript support foreach loop?
What is the use of dom?
How onclick works in javascript?
How many types of variables are there in javascript?
What does clean white space mean?
What is the result of below given line of code in java script? 5+4+'7'?