I'm reading jQuery Novice to Ninja
and I want to use the JQuery aJax Load function to load a php file to check a MySQL database the result is true or false
I have been playing with the Image Gallery Script
But it wont work in IE,Code:var GALLERY = { url: 'getStatus.php?ID=test', load: function() { var _gallery = this; $.ajax({ type:"get", url: this.url, success: function(data){ if(data=='false'){ $('#gallery').text("ID FALSE"); } else { $('#gallery').text("ID TRUE"); } }, error: function(){ alert('ERROR'); } }); } } $(document).ready(function(){ GALLERY.load(); });
FF is fine
I desperatly need to perform the task above
any fixes / alternative advise
please help me!!!!!





Bookmarks