Topic: I troubled with ajax processing...

Hi , all! I want to save the stars. but when I reload the browser, The date is initialized. I don't know how to save the date.
Please help me some advise. Thanks for reading my code. smile


$(document).ready(function(){
   $(".star").click(function(){

      $(this).append("<img width='25' height='25' src='/images/star.gif?1311854167' >");     
});



# index.html.erb

      <div class="star">
        <%= image_tag("star.gif",:size => "25x25") %>
       

      </div>

Last edited by haradashinya (2011-07-31 11:33:16)