Here's some example code that I found. I would like some assistance in understanding this code.
In the js file, there is this definition:
var win = window.open('', "mywindow");
var myform = $("#myform");
Then in the form_one.html , there is code this code (in addition to a another form block between <form> tags with a submit button tied to it):
<form style="display: none;" id="myform" action="myprog.cgi?page=/mypage/index.html">
<input id="myattribute" name="myattribute" />
Can you please walk me through these lines? Does the js load when the is first loaded and will it post variables to a hidden form right away? If so, how is the hidden form displayed?