My environment is Apache2+php5. The test doc is "ajaxtest.php", which
uses Ajax.Updater to load content from /test/test1/inphp.php. It works
soomthly in Firefox. But nothing can be displayed in IE6, the brower
got no response and the onComplete was not trigered. However, if I put
the two doc under the same dir, everything goes well. Or, if I replace
the inphp.php with a html doc such as "inhtm.html" in /test/test1, the
Updater then can load the doc''s content properly. Is there anyone
having encountered such problem?
Previously, I use Apache1.3+php4.3. Then, no such problem comes out.
Thanks.
//ajaxtest.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
<HTML>
<HEAD>
<script type="text/javascript"
src="prototype.js"></script>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<TITLE> New Document </TITLE>
</HEAD>
<body class="bg">
<div id="main" class="main"></div>
<script>
var myaj = new
Ajax.Updater(''main'',''http://address/test/test1/
inphp.php'',{evalScripts:true,onComplete:function(req)
{alert(req.responseText);}});
</script>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---