[Javascript] Callback to script-tag from included script?
Roger Roelofs
rer at datacompusa.com
Wed Aug 18 10:56:00 CDT 2004
On Aug 18, 2004, at 11:38 AM, Hakan Magnusson (Backbase) wrote:
> Hi Peter,
>
> The goal is to read attributes from the script tag itself. I am
> actually free to add (some) attributes (non-html if I wish) to the
> script tag, but nothing else.
>
>> Are you trying to provide a script that other people can use and
>> have it tell you where it's running?
>
> I think you got it head on here. The location of the included script
> is exactly what I want. ANY property would be even better, but if this
> can be accomplished, I'm happy for now.
>
> I'm thinking about adding an id to the script tag,
Could you use document.location, or are there too many possible values?
Roger
-------------------------------------------------------
Roger Roelofs web www.datacompusa.com
Datacomp Appraisal Services web www.mhvillage.com
3215 Eaglecrest Drive, NE Email rer at datacompusa.com
Grand Rapids, MI 49525-4593
More information about the Javascript
mailing list