Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="my-class">
- <h1>Hello</h1>
- </div>
- <div class="my-class">
- <img src="smiley.gif" alt="Smiley face" height="42" width="42">
- <h1>Hello</h1>
- </div>
- $('div.my-class').after('<img src="smiley.gif" alt="Smiley face" height="42" width="42">');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement