I am trying to set the onclick event using javascript. The following code works:
var link = document.createElement(\'a\'); link.setAttribute(\'href\', \"#\"); l
Use sth like this if you like:
Try it