OK, thanks. The backend.php makes sense. But I'm not sure how to
format the .html file. I tried this and it doesn't work. Do I need to
put "$(function" somewhere else?

Bob



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
        <title>Collecting Data...</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <script type="text/javascript" src="jquery-1.3.2.min.js"></script>

$(function()  {
        $.ajax({
                url: "backend.php",
                cache: false,
                success: function(html) {
                        $(".target").html(html);
                }
        }
}


</head>
<body>

<div class="target"></div>
<div id="content"></div>
<body>
</body>
</html>






Reply via email to