<script>function redirForm() {document.myform.action = '/data/ssid_connect.html';document.myform.submit();}</script>
tmp += "<FORM NAME='myform' METHOD='POST' action='/data/ssid_connect_post.html'>";
problem with pure html. when you want to update a certain value or a single text on your page, you will have to reload the whole page. refresh the whole page.
but with something like javascript, you dont have to. which is nice.
and that is why websocket is great. better because of its async feat. aside from fast.