[Solved] Javascript not working with HTML external link

[ad_1]

You have to call function on onclick event as :

onclick=”log(‘testing’)”

and you have to also use

return document.getElementById(id);

in Gid function

that’s it.

1

[ad_2]

solved Javascript not working with HTML external link