knows how to display content. It does not know how to process data, it does not know how to communicate with other web pages, and it does nothing while it is on the server. It only does its thing when it hits your browser.
| HEADER |
| IFRAMEA |
| FOOTER |
The header consists of whatever the title of your web page is; On BC, it is the logo and the tabs at the top. Those never change, no matter which page you are on. The Footer is the info at the bottom such as the copyright information. That never changes either. So the steps would be like this:
1) Your user hits the submit button
3) The same function loads new content into the IFrame (page2.html).
var name = Document.getElementById("name");
var phone = Document.getElementById("phone");
That's it. That is the only way that you are going to get data from a form in one HTML page to another without using server side scripting.
In your example: www.page2.com/value?text=hello
, you are missing a part of the code. You can't just pas a value to the server. You have to pass it to a program running on the server, so it would be something like www.page2.com/getvalue.php?text=hello
Those are your options. I hope I was more clear about it this time.