Okay so on my localhost my site works fine but on the dreamhost it doesn't refresh it should though I have this in the body:
I call this function from 2 seperate locations, it should refresh if it sits for 5 seconds or immediately after a user clicks a button on the page. It however never refreshes on the sever. it does work on my localhost though am I missing something here? this is my first time using a server.