title: Change image src of imagebutton using jquery 1.4.4
body: <p>I tried to change the image src of <strong>ImageButton</strong> using jQuery then it fails to change the background.</p>
  
  <p>I have tried below script or that:</p>
  
  <pre><code>$(document).ready(function () 
   {
      $('#&lt;%=imageButtonId.ClientID%&gt;').click(function () 
      {
  
              $('#&lt;%=imageButtonId.ClientID%&gt;').attr("src", "mobile/images/writelogbook_icon.png");
  
       });
  });
  </code></pre>
  
  <p>I have also tried object.css("backgroundImage","path");
  But, this also fails.
  Please suggest me. I am using jquery 1.4.4 min </p>
  
  <p><strong>Edit:</strong>
  Relavent code from html:</p>
  
  <pre><code>&lt;input type="image" name="imageButtonId" id="imageButtonId" src="Images/admin.png" /&gt;
  
  
  
     $('#imageButtonId).click(function () {
  $(this).attr('background-image', 'Images/customer.png');        });
  </code></pre>
  
  <p>Thanks,</p>
  
  <p>Naresh Goradara</p>