I have tried looking this up on the internet but i havent been able to find an exact answer.
I would like the value from my text box to appear in the href link of a clickable image.
The value from the textbox entry will be the IP address i want to browse to when clicking on the image.
Here is my code so far;
<table width="200" border="1">
<td width="9"> </td>
<td width="104"><a href='index.php?ip='+form3.ip.value><img src="up.png" width="97" height="104" align="middle" /></a></td>
<td width="65"> </td>
<td><form id="form3" name="form3" method="post" action="">
<input name="ip" type="text" id="ip" value="192.168.0.2" />
When i click on the link it simply refreshes the current page and changes the url to localhost/index.php?ip=
I also need this link not to open. In other words, once i have click on the image, i want to silently browse to the textbox value (ip address) in the background.
All help would be appreciated. Im in mech engineering, and i need this to control a robot over wifi