Irresistable Posted January 1, 2010 Share Posted January 1, 2010 I have a captcha image create, which the file name is pngimg.php. This has no function included. If I have a link that is a "Refresh" link, how would I go about refreshing the image, so a new image is requested withotu refreshing the page. Quote Link to comment Share on other sites More sharing options...
optikalefx Posted January 1, 2010 Share Posted January 1, 2010 grab a DOM reference to the <img> element and change its .src or .setAttribute("src","whatever.jpg"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.