What is the right syntax for the following?
postid is the slug I need to add to the url;
I need the content only of the article div from the remote page;
I’m also passing the postid to the remote page
.load("http://something/crew/?=" + postid .article ,{id:postid});
Thanks.
Based on the answer below the right syntax is:
.load("http://something/crew/?=" + postid + " .article" ,{id:postid});
Note that there is a space before
.article.From http://api.jquery.com/load/#loading-page-fragments