I am trying to get the following code to work right. I want google maps website to open in a new window with the entered values. Currently the code doesn’t open a new window but add the vales to the current link that this code is on. Does anyone see anything wrong?
[CODE]<script>
<– function call_full(){
var saddr=document.getElementByID(‘saddr’).value;
var daddr=document.getElementByID(‘daddr’).value;
fullScreen(‘http://maps.google.com/maps?saddr=’+saddr+’&daddr=’+daddr);}
//–>
</script>
<form name=”addr_form” id=”addr_form”>
<b>Get Directions</b><br><font size=2>Your address: (street, town, state)</font><br>
<input type=”text” SIZE=40 MAXLENGTH=40 name=”saddr” id=”saddr” value=”” />
<input value=”Go” TYPE=”submit” onclick=”call_full();”>
<input type=”hidden” name=”daddr” value=”40.000000″, “80.000000”/>