View Single Post
Old 10-06-2012, 06:08 PM   PM User | #1
Chris-2k
Regular Coder

 
Join Date: May 2011
Posts: 303
Thanks: 29
Thanked 0 Times in 0 Posts
Chris-2k is an unknown quantity at this point
Jquery refresh <img>

hi

i have an unusual captcha system and want to refresh the <img src="">

PHP Code:
<input type='button' id='refresh'>
<img src="<?php echo URL_THEME.'images/CaptchaCodes/CaptchaIMG_'.mt_rand(0,20).'.jpg'?>" style="margin-bottom:5px;" title="Captcha Code!" />
im guessing js can do this?

any help.......
Chris-2k is offline   Reply With Quote