var icon = '<img src="tick.png" alt="Analog Phone OK" />';
var html = '';
var itemcount = 0;
+
+ html += '<form name="phones" method="get">';
html += '<table align="right" width=600 cellspacing=2>';
html += '<tr><td colspan="2">Phone System IP Address:</td><td> </td><td div id="ipaddress"></div></td></tr>';
html += '<tr><td> </td></tr>';
- html += '<form name="phones" method="get">';
// print out analog phones
html += "</tr>";
- html += '</form>';
+
// print out phone lines
html += "</tr>";
html += '</table>';
-
+
+ html += '</form>';
document.getElementById("phones_table").innerHTML += html;
// fire off fping CGI
Close my tags !
<img src="images/sample.jpg" alt="sample" />
+
+ Try moving form back outside table (line 41 to above 31)
+
+ Add some formatting (carriage returns) to the table element in phones.js
4. network page not working
------------------------------