On 08/04/11 23:17, Randy Tomlinson wrote:
hi alan,

im confused? i only have a onRequest:function(), in the first file and
thats fine. i have no issues there? the problem is on the second page
(ajaxtest2.php)
there i want a HTML request after the onCoplete thing instead of the
alert....

thank you
randy


I had firebug on, and it failed to parse the "Request" statement. onRequest: needs to provide a function and function() is a call to a function, not the declaration of one.

What appears to happen is that ajaxtest2.php is executed as a new page, rather than being loaded into the div in ajaxtest.php



--
Alan Chandler
http://www.chandlerfamily.org.uk

Reply via email to