Do you send the text/javascript header?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of lekshmi
Sent: 10. maj 2008 15:41
To: [email protected]
Subject: Problem with widget in opera



Hi.... 

when i try this code as in php file <?php 

$event = "Hello World"; 
$data = <<<EOD 
$event 
EOD; 
// Output JavaScript code to write the data 
printf('document.write(unescape("%s"));', 
  rawurlencode($data)); 

?> include it as <script type="text/javascript" src =
"http://192.168.0.182:8090/check.php";> </script> 
it is working .But include it as cakeurl like <script type="text/javascript"
src = "http://192.168.0.182/widgets/test";> </script>,it is not working in
opera but it is working in all other browsers like SAFARI,IE,FF perfectly
two source files are same 

Please help me to find a solution for this problem... 
Its very urgent... 
please help me... 
please............

Thanks, 
Lekshmi...
-- 
View this message in context: 
http://www.nabble.com/Problem-with-widget-in-opera-tp17163022p17163022.html
Sent from the CakePHP mailing list archive at Nabble.com.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to