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
What is push() method in javascript?
Why is object naming important to use in javascript?
How can I prevent others from reading/stealing my scripts or images?
What is difference between undefined variable and undeclared variable?
How do you clear an array in javascript?
Which javascript framework is in demand?
What is array in javascript?
Is JavaScript a true OOP language?
What is stack in javascript?
Is javascript object a hash table?
What is event bubbling in JavaScript?
What are javascript closures?when would you use them?
Are there any predefined constant provided by the browser with the key code values that can be reused?
Explain the term closure?
Why is javascript used for web pages?