I tried to create a function which generates a link and added it to an element. But the .click function wont work. I dont even get an error, thats why I\'m not sure if the funct