title: Make ajax call to send data onclick event in div
body: <p>I have a div, which shows <code>Rate me</code> section. i.e. Five stars. When the user click on it, the rating value gets prompted.</p>
  
  <pre><code>&lt;div class="rateit bigstars" id="rateit99" data-rateit-starwidth="32" data-rateit-starheight="32" onclick="alert($('#rateit99').rateit('value'))"&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>In here rather than an alert, I want to make an ajax call, which sends(post data) Rated value to <code>data.php</code> file.
  How can it be done?</p>