How to extend jQuery's ajax
<p>This is rather a syntax question I am going to explain it jQuery's ajax functionality.</p>

<p>Let's say I want to control <code>dataType</code> of all ajax request according to <code>url</code>. For example url's with parameter <code>&amp;parseJSON=true</code> should have a dataType of <code>'JSON'</code> automatically.</p>

<p>For example:     </p>

<p><code>$.myajax({url:'http://example.com&amp;parseJSON=true'})</code></p>

<p>should be equivalent to </p>

<p><code>$.ajax({url:'http://example.com&amp;parseJSON=true', dataType: 'JSON'})</code></p>

<p>Basically, I need to check for URL and add dataType parameter if needed.</p>

<p>Thanks</p>
