title: how to code click event for an image inside html text box
body: <p>i have a html text box with an background image as below in asp.net mvc page. an now i want to write click event for that back ground image alone.  </p>
  
  <pre><code>      &lt;input type="text" id="txtProjectCode"  readonly="readonly" style="background-image:url('/Content/Images/remove.png');
  background-repeat:no-repeat;
  background-position:right;
  " /&gt; 
  </code></pre>
  
  <p>how can i write click event handler for the background image of the html text box  in javascript?
  if not in javascript any work around to do it?</p>