[jQuery] what is wrong with this simple load data codes
Hi there, I want to pull data from two input fields add a session
(weight) and post them to another file and then pull the returning
data. My input fields are:
<input type="text" name="ShippingPostalCode" id="ShippingPostalCode"
class="inputText" />
<input type="text" name="ShippingCountry" id="ShippingCountry"
class="inputText" />
$(document).ready(function() {
$("#link").click(function() {
$.post("getir.asp?Process=UPS",
{ WEIGHT: <%=Session("TotalWeight")%>, POSTALCODE: $
("#ShippingPostalCode").val(), COUNTRY: $("#ShippingCountry").val() },
function(output) {
$("#sonuc").html(output);
$("#sonuc").css("display", "block");
});
});
});
When I visit;
getir.asp?Process=UPS&WEIGHT=1&PostalCode=90012&Country=us
I see the data there, but when I click #link, its not pulling the data
to #sonuc. Not giving any errors either.