Hi everybody My json return these values [{"libelle":"France","countryId":1,"code":"FR"}, {"libelle":"Tunisie","countryId":2,"code":"TN"},..]
I have to load them ,I used this script I've found it here (http:// groups.google.com/group/jquery-en/browse_thread/thread/ e337d34bddd1af86?pli=1) : <script type="text/javascript"> $(document).ready(function(){ $.getJSON("countries.jsp", function (json) {var allItems = json.length;$.each(json, function (i, obj) { if (i<allItems) { alert('Value: ' + obj.Value + ' Item: ' + objItem'); }); </script> but nothing is alerted ! This is the first time I use Json