Yes, you grab the hidden input the same way.  Just don't forget your
comma between the two in the data object.

Mike


Thanks, that worked. One last question...

how do I grab a hidden input value?

("#placebid").click(function() {
       $.ajax ({
               type: "POST",
               data: {
                           mybid: $('#mybid').val()
                           listingid: $('#listingid').val()
               },
               url: "ajax/place_bid.php",
               success: function(msg) {
                       $
("#bidform").find("#msg").not(".alert").append(msg)
               }
       });

});
is the above correct for multiable data values?

Reply via email to