How to stop the page from refreshing

hi! after inserting this line of code, the page just keeps on refreshing, don’t
know how to stop it. could anyone have the idea how? please help and thanks in
advance

btw, this is the code:
rt.AppendText(“{]” )

Subject: How to stop the page from refreshing

Try adding return false at the end of your script. I haven’t test this and am not sure if it’ll work but worths a try