I'm struggling around with a weird problem that shouldn't be too difficult. On every new link that's clicked, I want JS to append a string the the URL. Something like name=MYNAME
. Unfortunately it does not work. The event does not get fired at all. Why?
I also tried working with window.onload = myFunction;
but it refreshes my url endless of times.
Thank you very much!