Fixed #1074 where .html() was incorrectly changing the selected value of an option.
[jquery.git] / test / data / json.php
1 <?php\r
2 error_reporting(0);\r
3 $json = $_REQUEST['json'];\r
4 if($json) {\r
5         echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';\r
6 } else {\r
7         echo '{ "data": {"lang": "en", "length": 25} }';\r
8 }\r
9 ?>