title: Change background image url
body: <p>I am trying to change the background of the input button when clicked by using jquery but for the life of me, can't figure out the relative path to make it work.</p>
  
  <p>js file is in root/js folder
  css file is in root/css folder</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>jQuery($button).css('background',"url(../images/updating_button.gif)");
  </code></pre>
  
  <p>But this just doesn't work...it can't find the image with that path. if I use absolute path it works obviously but i really need it to be relative.</p>
  
  <p>I have tried all combination that I know like:<br />
  /images/updating_button.gif<br />
  ..images/updating_button.gif<br />
  images/updating_button.gif<br />
  updating_button.gif</p>