Getting variable from the Url
<p>I have a jquery function that retrieves information that a user clicks on in a database table.The user can select any one of ten rows that becomes highlighted when mouseover and when the user clicks the highlighted row the function retrieves it and puts it into a textbox. Then if the user submits this request for purchase I want to echo the textbox on the next page which is an order form. </p>

<p>The code below works well up until I try to retrieve the information from the url. I can see that it is passed in the url to the next page but after trying for two days I have not been able to retrieve it. I don't know where to go from here. Can someone look at this and see if I have not coded properly or done something wrong.
I have copied down the code that applies...</p>

<pre><code>&lt;script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;


$(document).ready(function(){
  $("table tr").click(function(){
       $("#txttread").val($.map($(this).children('td:not(:eq(7))'), function (item) { return $(item).text() }).join(' - '));
  });
});


$(document).ready(function() {

    $('.pickme tr').not(':first').hover(
        function() { $(this).addClass('highlight'); },
        function() { $(this).removeClass('highlight'); }
    ).click( function() {
        $('.selected').removeClass('selected');
        $(this).addClass('selected').find('input').attr('checked','checked');
    });
});


&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="Order.html" method="GET" name="myform2" /&gt;



&lt;div&gt;
&lt;div style="text-align:left height:250px;"&gt;
&lt;DIV STYLE="font-family: Arial Black;
color: black; font-size: 20pt;"&gt;

Select from inventory below:&lt;br/&gt;&lt;input type="text" style="width:500px; height:35px;" rows="1" STYLE="font-family: Arial Black;
color: red; font-size: 20pt;" name="txttread" id="txttread" DISABLED /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align:center;"&gt;



&lt;br/&gt;&lt;input type="button" button id="getone" name="getone" value="Submit your request for purchase" onclick="window.location.href = 'http://localhost/order.html?txttread='+ ( $('#txttread').val() )"&gt;&lt;br/&gt;&lt;hr/&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>The url on the next page is....</p>

<pre><code>    http://localhost/order.html?txttread=Firestone - All Season - FR-710 - 225/60/16 - 4 - 3 - 60.00
</code></pre>
