My site: www.onlyriddles.com The problem occurs when I click on the "Answer" button. I should also mention that it worked a few days ago before I move it to a new server. Basically it works in IE but it does still show an error indicator at the bottom of the browser. Here's what the error shows when I click on details: Of course I'm not sure which file line 53 is contained in. In FireFox I just get the "Problem retrieving data - Contact " alert message (as shown in the script below). Here's my javascript.js file: Any help is greatly appreciated.
cooks = get_object('cooks'); cooksval = cooks.innerHTML; I think javascript does not find the id cooks and is therefor unable to fill cooksval with innerhtml > cooksval = document.getElementById("cooks").innerHTML I tried to look for the problem, but the code seems ok..
Yeah and the problem is that it worked on my old server. So what could possibly be different on a server that would affect javascript?? I set permissions to 755 and everything.