Hi,
So if I'm inside an anonymous function, can I
still use window...
Yes if the functions in question are declared at global scope (as in
Pranav's example), no if they aren't (you can access `window`, but the
functions won't be properties of it).
So this would work:
function foo() {
Hariz,
For the second time[1], please do not hijack other people's threads.
If you want to ask a new question:
* By email: Create a new email (NOT a reply) to prototype-
scriptacul...@googlegroups.com
* Via the web: Click the new post link on the list of topics[2]
[1]
(changing the subject back)
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
Interestingly, Firefox's `textContent` behavior of including the
script element's contents (which I called insanity) is *standard* as
far as I can tell -- and has been for years:
http://www.w3.org/TR/html5/infrastructure.html#textcontent