jQuery hidden value not being sent
<p>Is there a certain or special of dealing with hidden fields in jQuery? I am using a hidden input field and am not receiving a value. Obviously, my code is incorrect and would be grateful if someone could show me the error. many thanks</p>

<pre><code>&lt;input id="customer" name="customer" type="hidden" value="&lt;?php echo $_SESSION['kt_idcode_usr']; ?&gt;" /&gt;


$('#submit').click(function () {

        var name = $('.uname').val();
        var customer = $('.customer').val();
        var department = $('#department').val();
        var email = $('.email').val();
        var position = $('.position').val();
        var feedback = $('.feedbacknew').val();
        var data = 'uname=' + name +
                   '&amp;customer=' + customer +
                   '&amp;department=' + department +
                   '&amp;email=' + email +
                   '&amp;position=' + position +
                   '&amp;feedbacknew=' + feedback;
        $.ajax({
            type: "POST",
            url: "feedback.php",
            data: data,
            success: function (data) {
                $("#feedback").get(0).reset();
                $('#message').html(data);
                //$("#form").dialog('close');
                $("#flex1").flexReload();





            }
        });
        return false;

    });
</code></pre>
