J
Jorge
Only if you accept that the whole DOM and all 'namespacing' schemes have
results that are 'global'.
No. This - f - must be declared/assigned, and it must be a function if
it is to be called, but there is no reason that it could not have been
declared in the JS files that is being dynamically loaded. There is no
need for and previous or separate SCRIPT element.
Yes it could be there but of course that has several drawbacks and it
would of course not be so convenient and flexible as the degrading
script's pattern where nothing is hardcoded in the script but the
location of the source to execute: its own .innerHTML.
Anything that can be found in public archives is not secret.
Also a secret that somebody reveals somewhere e.g. in a public archive
is still a secret, although a disclosed one.
One thing
that would be seen by searching the archives is for how long this
subject has been being kicked around on this group. It is a sufficiently
old subject that some of us will remember the technique for dynamic
script insertion that worked with Netscape 4 (something that nobody
cares about at all these days).
I have no doubt about this. But if I say a=b don't just tell me no+ go
search why, just tell me why not.
And you are stressing "parallel" when if the HTTP constraint on only
having two simultaneous connections to the server is in force the number
of resources that can be downloaded at the same time is limited to two.
No current browser has this limit set to 2, no matter what any
standard says. And no server either (neither ?).
The result is not parallels, it is just less serial than making the next
request after the resource for the last had been delivered (and possibly
not even then, depending on the demand for connections to download other
resources).
Haven't you seen the results of the tests in the links that I've
posted ?
<snip>> How's posting code that proves what I say is pretending ?
<snip>
How about posting explanations that state what it is you think the code
you are posting shows ?
Yeah, great. Thanks.