Unanswered: Auto-populate text box in Form2 once data is pulled down from Form1
OK, I've got a drop-down that displays contents from the MySQL DB properly in a table (table is ugly, but I'm working on the layout). Here's the HTML of the page that shows the drop-down and table (there's 48 entries, I've truncated it to 5):
alert ("Browser does not support HTTP Request");
// code for IE7+, Firefox, Chrome, Opera, Safari
return new XMLHttpRequest();
// code for IE6, IE5
return new ActiveXObject("Microsoft.XMLHTTP");
$query = "SELECT * FROM $usertable WHERE id = $q";
Minus the output table formatting which I'm still learning how to fix, it works swimmingly. However, I want to know if this is possible:
The information that's dumped into the LatLong cell, is there any way to make that same info auto-populate another text field in another form on the same page (id="flyhere") once it shows up in the table? And re-populate it once the selection in the dropdown menu is changed?
Or make the cell in that table clickable, so if info does populate that cell, you can click on it and have it populate the other "flyhere" text box in the other form?