Skip to content

Tag: getelementbyid

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 : This code is placed into a body onload function. I think it’s a parentality problem.

Onclick function based on element id

I’m working on a site with a visualization of inheritance relation. I try to link each nodebox with specific URLs. The html of Element looks like this: I used and also Neither of them can find the element, nor setup the onclick function. Have I misunderstood anything? Any information will be helpful. Thanks. Answer Make sure your code is in