jQuery - Why can't I add the .php suffix to this Ajax load function
<p>I have the following code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
  $(function() {
    $('#bootChooserControl')
      .load('/jqia2/action/fetchBootStyleOptions');

    $('#bootChooserControl').change(function(event){
      $('#productDetailPane').load(
        '/jqia2/action/fetchProductDetails',
        {style: $(event.target).val()},
        function() { $('[value=""]',event.target).remove(); }
      );
    });

  });
&lt;/script&gt;
</code></pre>

<p>My question is that why it doesn't work for me if I change <code>load('/jqia2/action/fetchBootStyleOptions')</code> to <code>load('/jqia2/action/fetchBootStyleOptions.php')</code></p>

<p>The same problem happens for <code>fetchProductDetails</code>.</p>

<p>Thank you.</p>
