Upload the value of a form to thickbox & lt; formmethod & quot; post & quot; name & quot; add_product & quot; id & quot; add_product & quot; onSubmit & quot; returncheckvalue () & quot; & gt; & lt; inputtype & quot; text & transfers the value of a form to thickbox
Preview required: the values of all forms are displayed on the new thickbox page, but only pop-up. Return to this page
What can I do ???? The preview button I wrote can be displayed in the pop-up box, but this page cannot be passed!
------ Solution --------------------
If you want to use the POST method to pass parameters
You can use $ _ POST ['text1'] to obtain table elements during transmission.
The preview button is completed using JS and can be completed using AJAX page requests.
Using JS: You can add a new hidden DIV layer, for example, the id is p1.
First, design what you need in p1
Then
When you click the preview button, assign the value to the input of the hidden layer and then display the layer.
You can also assign a value to the input of the hidden layer when entering the information, and then click "p" to display the information.
Script
Fucntion get_DivVlues (){
Document. getElementById ("d_1"). value = document. getElementById ("1"). value; // assign a value
...
Document. getElementById ("p1"). style. display = 'block'; // display layer
}
Script