i have this form that works fine but now i have this jpg image next to one of my address text fields that i want to be able to click the image, before processing the form if the user decides to, and if there is text in the field then another window will open up to google maps.
this is what i have with just the image there
Code:<tr> <!-- Row 3 Column 1 --> <td><span class="style14">Address:</span><br /> <input name="address" type="text" id="address" value="" size="35" maxlength="120" /> <img src="images/garmin.jpg" width="24" height="24"></td> </tr>
this is what i have in one of my reports that works great at opening another window with a google map.
so i need to be able to take and combine the two but i cant figure out how to tell it to do with a click of the image.Code:<td><font size="1" face="Arial, Helvetica, sans-serif"><a href="http://maps.google.com/maps?f=q&hl=en&q=<? echo urlencode($address); ?>" target="_blank">map it</a></font></td>




Reply With Quote