tags:

views:

2281

answers:

1

I am trying to

function doRow(rowNum)
{

 $.ajax({
   url: "z.html",
   cache: false,
   success: function(html){
   $('#result + rowNum + "'").append(html);
 }
});

This does not seem to work.

I also want to pass variables to data attribute when I get that far.

+5  A: 

Try this:

function doRow(rowNum)
{

 $.ajax({
   url: "z.html",
   cache: false,
   success: function(html){
   $('#result'+rowNum).append(html);
 }
});
Anne Porosoff
embarassing.... Thanks!
Brian G
Lol, np, happens to the best of us ;)
Anne Porosoff
Happened to me, too. It's the simple things!
Marcus