jQuery.parseJSON is not a function
Hi
I am working on a jQuery tutorial... (yes ? switching from prototype to jQuery !) but I am stuck on a an error message I don't get the solution... and muy script is very very simple
- <script>
- $(document).ready(function() {
- var obj = jQuery.parseJSON('{"name":"John"}');
- alert( obj.name === "John" );
- });
- </script>
I am using jquery-1.4.2.min.js ( loaded )
what's wrong with this code from the tutorial ?