*C*
10-28-2003, 03:49 PM
Hi,
I am having trouble with java script (go figure) and need some help. Here is what I have thus far:
<html>
<head><title></title>
<script language="JavaScript">
<!--
//-->
</script>
</head>
<body>
<input name="site name" value="http://">
<input type=button value="Open"><br><br>
<input type=checkbox name="new">      Open in same Window
</body>
</html>
As you can see I have no java script. I do not know where to begin. What I have is an input box where a user can put any website address. Then there is a button that when clicked needs to open the website in a new browser. There is also a box that when checked has to open the site in the same browser. I have all that and it looks nice but I need the java script to make it WORK. Any help would be very much appreciated.
I am having trouble with java script (go figure) and need some help. Here is what I have thus far:
<html>
<head><title></title>
<script language="JavaScript">
<!--
//-->
</script>
</head>
<body>
<input name="site name" value="http://">
<input type=button value="Open"><br><br>
<input type=checkbox name="new">      Open in same Window
</body>
</html>
As you can see I have no java script. I do not know where to begin. What I have is an input box where a user can put any website address. Then there is a button that when clicked needs to open the website in a new browser. There is also a box that when checked has to open the site in the same browser. I have all that and it looks nice but I need the java script to make it WORK. Any help would be very much appreciated.