i’m newface in JQuery world, if anyone could answer me that would be great!!
my requirement is..
I need to inject a div after a content block in a page, where I don’t have access to that portion of the page.
How can I do this by using JQuery
Thanks
Paul
You can use
.after()to put content literally after another element, for example:Or use
.append()to stick content at the end of (but still inside) an element:Your selector may be different, the above looks for a
id="content"element, but whatever that selector is, same method calls to stick content where you want it.