Hello,
I made an ajax-routine using request and json, which works fine under
all browsers except under IE.
For the sake of illustration I made a simplified version of this. The
link is: http://www.cartesians.com/geefeenster/ajax_test.html
It should show the text: "Hello world". The code of the (php-) script
being called in the routine - ajax_test.php - is as follows:
<?php
$data['result'] = 'Hello '.$_GET['par'];
header('X-JSON: (' . json_encode($data) . ')');
header('Content-type: application/x-json');
echo json_encode($data);
?>
Can anyone tell why this does not work under IE and what to do to make
it work.
Many thanks in advance.
Milko Kretschmann.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---