Why does my page reload every time I click a link? How can I stop it? or Is there a way to prevent un

18 Replies, 1946 Views

OMG, you guys are lifesavers! Tried `e.preventDefault()` and it worked like magic.

Still getting a slight flicker though—any idea why? Maybe the DOM updates are slow?

Also, someone mentioned `fetch()`—gonna try that next. Thanks for the tips!

(And no, it wasn’t a damn `#` link this time. Learned that lesson the hard way lol.)

Messages In This Thread



Users browsing this thread: 1 Guest(s)