Hi all ;)

I'm very new to jquery.

I'm playing with JSON and have some prob to retrieve the result.

Here is the client side:
<script>
$(document).ready(function(){
        $("#IdEmailField").blur(function(){
               alert("FOO1"); --> it works
                $.getJSON("test.php", function(json){
                        alert("FOO2"); --> it doesn't work
                });
        });
});
</script>

Here is the server side:
<?php
echo "foo";
?>

It seems it doesn't go inside the function. Any idea ?

regards,

f.

Reply via email to