to post then send then retrieve a value
<p>First i want to display a list of products selected from a database in Gallery.html . I make it with:</p>

<pre><code>$('#div').load(galleryshow.php) 
</code></pre>

<p>This php page echo each item with a form when i submit it(from Gallery.html ), it shows specific item at (Product-Details.html) with details. To do this item the first php page(galleryshow.php) (it echo submit button at gallery .html) should submit its data to another php page(getid.php) to select the details and display it at (product-Detail.html). </p>

<p>My question is how to send a value from galleryshow.php to php and at the same time display($load-$get-$post) the result in html.</p>

<p>The code I use in the first html page(Gallery.html) at body tag</p>

<pre><code>&lt;script type="text/javascript"&gt;
        $(document).ready(function() {
            $('.gallery_page').load('inc/galleryshow.php', function(data) {
                 $('.showd').submit(function(e) {
                     e.preventDefault();
                     window.location ="Product-Details.html";
                 });
            }); 
        });
&lt;/script&gt;
</code></pre>

<p>i want to submit a value to php page to display its result in "Product-Details.html" when it loaded.</p>

<p>Thanks in advance.</p>
