 <pre><code>url: $obj.url, </code></pre> <p>This parameter needs to be a string. If you want a dynamic url from your obj variable do this:</p> <pre><code>url: $obj+".php", // .php or whatever the file type is of the page you're requesting </code></pre>