I appended the iframe as shown below, easily.
$("p").append("<iframe src='http://www.site.com'></iframe>");
But search bots also see this url and go to the url. What I want to do is to make the same append differently. If it was in php, I can do that with
$part1 = "<iframe src='http://www.site";
$part2 = ".com'></iframe>";
echo $part1$part2;
But how can I achieve the same using jquery?
Please try the below :