set value of input that do not allow it to be changed
<p>I have the following text box input code. I do not have access to it to add the default value to it so i used this Jquery code to add the value and then disable the input but it doesn't send the added value. How would I add the value but not allow them to change it. I was going to use "hidden" but I want them to see it just not able to change it. </p>

<pre><code>$("input[type='text'][name='ShipCity']").val('Madison').attr('disabled', 'disabled');



&lt;input type="text" style="background-color: rgb(255, 255, 0);" value="" name="ShipCity" maxlength="45" size="25"&gt;
</code></pre>
