Jump to content

[PHP][Javascript] How can I reload an image?


latino.ad7

Recommended Posts

In my PHP/HTML code, I want to inject Javascript in such a way that it will reload an image, instead of refreshing the whole page. PHP variable will supply the name of the image.

 

I have an image and below it a few links. I would like to reload the image when someone clicks on the link.

 

Can someone help and advise how to do it usign Javascripts?

Link to comment
https://forums.phpfreaks.com/topic/193078-phpjavascript-how-can-i-reload-an-image/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.