[jQuery] Re: Trouble Understanding getJSON call

2008-12-05 Thread Guy
I spent quite a bit of time farting around with this problem and thing I figured out what I was doing wrong. If someone can confirm I'm on the write track I'd appreciate it. I read somewhere that the format of the passed url which indicates that .getJSON should handle the call as a x-browser

[jQuery] Re: Trouble Understanding getJSON call

2008-12-05 Thread brian
You use it like jQuery.getJSON(url, data, callback) function handleIt104(data, status) { // ... } var url = 'http://the.domain.com/getJSON.php'; var data = {what: ever}; $.getJSON(url, data, handleIt104) I don't know what you mean about a script tag. Maybe i've completely misunderstood