title: What is the use of "javascript:void(0)"
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1291942/what-does-javascriptvoid0-mean">What does “javascript:void(0)” mean?</a>  </p>
  </blockquote>
  
  
  
  <p>I am checking many sites and I have seen that many website creator define inline JS function
  "javascript:void(0)". I think this is a difining a JS function which does nothing.
  example from images.google.com the image inside the search box contains.</p>
  
  <pre><code>&lt;a class="gsst_a" href="javascript:void(0)"&gt;
           &lt;span id="gs_si0"&gt;
               &lt;span class="gssi_a gsst_e" id="qbi"&gt;
               &lt;/span&gt;
           &lt;/span&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Can anybody explain what is the use of benifit of defining this function even this function does nothing.</p>