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 ?



What are the different ways in which we can use the link tag ? Illustrate with an example. Is it p..

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

Post New Answer

More JavaScript Interview Questions

What is the difference between childNode and children?

0 Answers  


Basic methods for opening a popup window using javascript?

0 Answers  


What is === in javascript?

0 Answers  


How can you create an Object in JavaScript?

0 Answers  


Describe negative infinity in javascript?

0 Answers  


What is javascript bom?

0 Answers  


What are types of javascript?

0 Answers  


What are the different objects used in javascripts?

0 Answers  


accessdenied javanet disconnet

0 Answers   Reliance,


What's math constants and functions using javascript?

0 Answers  


How do Javascript primitive/object types passed in functions?

0 Answers  


What is js injection?

0 Answers  


Categories