ID:2433377
 
(See the best response by Nadrew.)
Problem description:
I have a character setup window with a custom theme and some events trigger a change to the html/css.
My issue is that anchor hrefs cause the whole window to refresh, losing changed html/css. For example, if a user loads profile 1, the button changes colour and is highlighted. But then if the user edits their character name (which uses a href Topic) the highlighted element gets reset (along with the rest of the window).

Is there any way to stop an anchor href from refreshing a browser window?
If not, is there a workaround?

Best response
You'll want to use javascript to make changes to document.location as needed.