echo ' onclick & refresh

Discussion in 'JavaScript' started by MyVodaFone, May 28, 2010.

  1. #1
    This is my statement, how would I add a refresh() so the page refreshes

    
     echo ' onclick="submitRating(\''.$item.'\','.$i.','.$max.');"';
    
    Code (markup):

     
    MyVodaFone, May 28, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    echo "onclick=\"submitRating('{$item}','{$i},'{$max}');refresh();\"";
     
    krsix, May 31, 2010 IP