+ 3
Help me in Opening images with JavaScript.
I have renamed an image file from photo.png to photo.pnga Now can I open the new file photo.pnga as image file using JavaScript. if yes, tell me how.
1 Answer
+ 13
location.href="imagePath"
I have renamed an image file from photo.png to photo.pnga Now can I open the new file photo.pnga as image file using JavaScript. if yes, tell me how.