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
Can I declare a variable as CONSTANT in JavaScript?
What's Prototypes for JavaScript
How can javascript be used to improve the "look and feel" of a web site? By the same token, how can javascript be used to improve the user interface?
What does unshift() function do in Javascript?
How are event handlers utilized in javascript?
How do I view javascript files in chrome?
how to run the servlet in tomcat
What would be the result of 3+2+”7″?
What is innertext javascript?
What is the scope variable in javascript?
How do I disable javascript in my browser?
Is Javascript a Functional Programming Language?
Are you concerned that older browsers don't support javascript and thus exclude a set of web users? Individual users?
TypeError: document.getelementbyid(...) is null?
What is a function constructor?