Hey all, I am new at jQuery and playing with it for a couple of days
and i have:

$(document).ready(function(){





        $.ajax({
                type: "GET",
                url: "words.php",
                dataType: "HTML",
                error: function(){
                alert('Error loading XML document');
        },
        success: function(data){
                alert("Data Loaded: " + data);
        }
 });

And i get this error:

missing } after function body
http://localhost/magnet/
Line 31

Any ideas why? All of my {} and () seem to match up?

Thanks so much!
Ryan

Reply via email to