Andrew Poulos wrote:
Is it possible to send an XHR to a HTML page to be "processed" by
javascript in that page and to then get a response back?
No. There are no "HTML pages" to begin with; there are HTML *documents*
that are not programs (<prayer_wheel><acronym title="HyperText Markup
Language">HTML</acronymis not a programming language. There are no HTML
commands. </>; [psf 7.9]), but they may *contain* (ECMAScript-compatible)
programs (through the [X]HTML `script' element) that are run *when parsed*.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>