Load Function Question (Jquery)...

Load Function Question (Jquery)...

Hey,

Is there any way one can use load to simulate, something like this in php
include("page.php?id=3");

*without* having to be displayed in a div? In other words, can it just load data and print it out, like a
php include file, by itself? I tried to use load *without* appending it to a div and nothing happens. Only
if I identify a div tag to append the data to does it work.

The goal is something like:

var id = ...
load("page.php?id=id");

simulating including raw data from an outside file. Does jquery allow this? Every example I see
refers to a div so I wasn't sure.

Thank you all for your time.