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 do I enable javascript on google?
Does html5 replace javascript?
How do you sort an array in javascript?
What are global variables? How are these variable declared and what are the problems associated with using them?
What is the similarity between the 1st and 2nd statement?
How to hide javascript code from old browsers that dont run it?
Why is javascript dangerous?
What is the difference between == and ===? Which one would you use?
How to trigger a postback on an updatepanel from javascript?
How do I turn off javascript in chrome?
What is difference between callback and promise?
What does clean white space mean?
You have an asp. Net web application running on a web-farm that does not use sticky sessions - so the requests for a session are not guaranteed to be served the same machine. Occasionally, the users get error message validation of view state mac failed. What could be one reason that is causing this error?
Where do I write javascript code?
What is the prototype object in javascript and how it is used?