html - Next image without refreshing the whole page (on click) -


hi trying "on click" go next image (i'll post code easyer understand trying do)

  <form id="selector">          <select onchange="initchapselector();"></select>          <select onchange="initpageselector();"></select>          <select onchange="initdisplay();"></select>          </select>   </form>          <a href="#" onclick="movetonextpage(); return false;"><img id="display" src="js/vkmanga/spinner.gif"></a> 

but way know href="#" refreshes whole page there other ways can make work?

am new html/php please forgive me if above code wrong thanks

also working in forum template if means anything

uhm, href="#" should not refresh whole page. sure there aren't errors in movetonextpage()? try javascript:void(0) in href="...": should absolutely nothing.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -