Skip to content
Advertisement

JS Need help to add href on img

i’m using Innova Content Builder to record my webpage. It’s contains a module called saveimage.php which transforms binary images to jpg files. This works perfectly.

Now, i would like to encapsulate these img whith href links, but it doesn’t works.

Here is my code :

JavaScript

This code is placed into a body onload function. I think it’s a parentality problem.

Can you help me ? Thanks !

Advertisement

Answer

Use this:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement