4

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.

1 Answer 1

7

Try this:

function doRow(rowNum)
{

 $.ajax({
   url: "z.html",
   cache: false,
   success: function(html){
   $('#result'+rowNum).append(html);
 }
});
Sign up to request clarification or add additional context in comments.

2 Comments

Lol, np, happens to the best of us ;)
Happened to me, too. It's the simple things!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.