title: x-editable ajax call does not process the designated url
body: <p>Im using bootstrap with x-editable and im trying to get it working once the save button from x-editable is clicked the php file should be executed.</p>
  
  <p>Ive tried everything within my knowledge to fix this but im not a hardcore javascript programmer so changing it to Json to give it a try is to my perspective a little much effort.</p>
  
  <p>Ive read the documentation of x-editable and this should be the way to work with it.</p>
  
  <p>So here is the html:</p>
  
  <pre><code>  &lt;a href="#" class="username"&gt;superuser&lt;/a&gt; 
  </code></pre>
  
  <p>The Javascript:</p>
  
  <pre><code>      $.fn.editable.defaults.mode = 'inline';
  
        $('.username').editable({
             type: 'text',
             pk: 1,
             url: 'post.php',
           });
  </code></pre>
  
  <p>Once the <strong>post.php</strong> is missing x-editable gives an error , however if it sees the php file it does nothing.
  the contents from the php file are irrelevant because there is only a  console log with test in it there.</p>
  
  <p>The console log is never executed and i cant figure out why it is not working, I've seen 1 or 2 problems like thing one on Stackoverflow etc however no use full information.</p>
  
  <p>This is the first time ever i had to ask something on the internet so i hope someone can help me with this one.</p>
  
  <p>I've tried things like changing the <code>url</code> to <code>localhost/dir/etc</code> however no effect.
  also setting <code>/posturl</code>, and adding var <code>posturl = "post.php";</code> didn't help</p>
  
  <p>oh and I've tested all the resources : but if it helps here: </p>
  
  <pre><code>&lt;!-- Le styles --&gt;  
  &lt;!-- jQUERY --&gt;
  &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
  &lt;!-- Sharre --&gt;
  &lt;script src="recources/assets/js/jquery.sharrre-1.3.4.js"&gt;&lt;/script&gt;
  &lt;!-- Minnified bootstrap --&gt;
  &lt;script src="recources/assets/min/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;!-- Custom CSS --&gt;
  &lt;link href="recources/assets/css/pagestyle.css" rel="stylesheet"&gt;
  &lt;!-- X - Editable --&gt;
  &lt;link href="recources/assets/css/bootstrap-editable.css" rel="stylesheet"&gt;
  &lt;!-- External link --&gt;
  &lt;script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.4.4/bootstrap-editable/js/bootstrap-editable.min.js"&gt;&lt;/script&gt;
  </code></pre>