The code looks correct as far as I can see. You're going to have to
provide some HTML of your #CustNum and #PartNum.

On Sep 1, 2:54 pm, "robert...@gmail.com" <robert...@gmail.com> wrote:
> 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());
>
> });
> });
>
>

Reply via email to