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

Event handler Example

1 Answers  


What is a way to append a value to an array?

5 Answers   Satyam,


Does javascript support automatic type conversion?

0 Answers  


Difference between window.onload and onDocumentReady?

0 Answers  


What are disadvantages of using javascript?

0 Answers  






What are the advantages of using JavaScript?

0 Answers  


Difference between Pure functions Vs. Impure functions in javascript?

0 Answers  


Where do you put javascript in html?

0 Answers  


I have a report which has id as hyperlink.when i click the id it should move to next report which displays the corresponding details.tell me how to get the value of hyperlink(which id is clicked) dynamically using javascript? so that i can make condition on my second report?

2 Answers  


How to use strings as array indexes using javascript?

0 Answers  


What is an external javascript?

0 Answers  


What is the use of window object?

0 Answers  


Categories