[jQuery] Joining values in ajax load
Newbie here - Whenever I try to join variables I get results for first
item (CustNum) only...PartNum returns as 'undefined'.
Can someone tell me the problem with this code:
$(document).ready(function() {
$(".mybutton").click(function(event) {
$("#myDiv").load("Test.asp?CustNum="+ $('#CustNum').val() +"&PartNum="
+ $('#PartNum').val());
});
});