I was trying to simplify my question and consequently may have not asked it correctly.
Here it the revised question: 1. I have a from inside a repeat region , I append the id with the record index for identification purposes. I also have my display div inside the repeat region. '''''''''''''''''''''''''''''''''' <form > <input name="CustNum2" type="hidden" id="CustNum2<%=Repeat1__index%>" value="<%=request.Querystring("CustNum")%>" /> <input name="PartNum2" type="text" id="PartNum2<%=Repeat1__index%>" value="<%=rsSpecials.Fields.Item("SKU").Value%>" /> <input type="button" value="<%=rsSpecials.Fields.Item ("Program_Type").Value%>" class="mybutton" /> </form> <div id="showtime2<%=Repeat1__index%>"> </div> ''''''''''''''''''''''''''''''''''' 2. Then I have my Jquery script: '''''''''''''''''''''''''''''''' $(document).ready(function() { $('.mybutton').click(function(event) { var request=$(this).attr('id'); $("#showtime2"+request).load("Test.asp?CustNum="+$ ('#CustNum2'+request).val()+"&PartNum="+$('#PartNum2'+request).val()); }); }); ''''''''''''''''''''''''''''''''''' I get no response at all THANKS FOR THE HELP On Sep 1, 9:55 pm, James <james.gp....@gmail.com> wrote: > 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()); > > > }); > > });- Hide quoted text - > > - Show quoted text -