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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.