I would like to be able to execute a PHP page on the server via JavaScript and set the results to a variable. What I’m trying to do is something like Microsoft’s RDS — returning server data to modify the page — but sans Microsoft. Any idea?
@AdamGundryApr 29.2003 — #You could create a hidden frame or iframe, and load in it the PHP page. You could then use the innerHTML property of the frame to get the returned data.
@DACauthorApr 29.2003 — #Great idea! I'll give it a try. It would be easy if elements such as <TD> had a SRC attribute. This functionaliy is something that for a long time I though was missing from HTML.
@DACauthorApr 29.2003 — #Well, that SHOULD have worked. I get the correct data back into the IFRAME, but the innerText attribute returns nothing. I'll keep plugging away...