var $p=$("<p>I'm a paragraph!</p>"); $("#one").after($p); var two=$("#two"); two.after.($('p'));
Missing persoectuve, one suspects, It really necessary to create a variable?
$('#one').after('<p>Bob's yer uncle</p>');
In the second call to .after(), we have a paragraph node to target...
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.