Thanks, Karl! Methinks, this is the best method.
On 29 авг, 21:23, Karl Swedberg [EMAIL PROTECTED] wrote:
On Aug 28, 2007, at 11:12 PM, Sagari wrote:
Greetings,
The task: to add content (HTML) exactly at the place where script
was placed, i.e. how do I get the parent of a
scrirpt
Hi Mike,
The task is to use DOM scripting instead of good old document.write().
The winds of future, damn them.
Thanks for your code sample!
On 29 авг, 23:55, Michael Geary [EMAIL PROTECTED] wrote:
My favorite way to do this is to take advantage of the fact that the the
script tag is the
It was on ajaxian awhile back, i cant find it but go through every
article in the last 2 months and u should find it, please post it if
you find it, i shoudl of bookmarked it :p
http://ajaxian.com/
On Aug 28, 2007, at 11:12 PM, Sagari wrote:
Greetings,
The task: to add content (HTML) exactly at the place where script
was placed, i.e. how do I get the parent of a
scrirpt type=text/javascript src=scriptsource.js/script
-like tag?
I need to use DOM scripting, not document.write().
My favorite way to do this is to take advantage of the fact that the the
script tag is the last one in the document at the time that it's executed.
This works with inline scripts as well as .js files.
Try pasting this code into the body of a test document:
Insert text here: {
script
5 matches
Mail list logo