I have a simple stupid question. I want to add a URL which is clickable in JavaScript to my HTML
var a = document.createElement('a');
a.setAttribute('href', 'http://example.at');
$("#upcomingEvents").append('Please check our website. ' + a);
The URL appears, but it is not clickable, how can I change that?
Thanks!