Hello everyone,

I'm new to jQuery (and to programming, as a matter of fact). Still, I
have this task: find a certain element on an html page and insert a
google ad before it (or just anywhere nearby). I have no problems
finding the necessary element, but I just cannot understand how to
insert any piece of code nearby it. All I can insert is usual text.

For a few hours I tried using .before(), getScript("/script.js"),
before ( eval("google code here") ), .before("<!--#include virtual='/
script.js' -->") and just everything I could understand more or less.
Unfortunately, it doesn't work.

I would be very grateful, if anyone could tell me how to do this. I
tried searching this group, but to no avail.
Thanks in advance!

Reply via email to