views:

569

answers:

2

Hi!

I have a problem with a site I am working on, available here.

The javascript on the site works as inteded when browsed with firefox. In IE7, however, the javascript does not even get executed.

As I am new to javascript I suspect that I am probably doing an obvious mistake somewhere in the code.

Any help is appreciated!

+8  A: 

here is your problem:

$.get("ajax.php", {case: caseNr, picturenr: picNr, pictureinfo: true}, function(data){

case is a reserved word. When using hashes, always make keys be strings, and you will never get yourself in to trouble

$.get("ajax.php", {"case": caseNr, "picturenr": picNr, "pictureinfo": true}, function(data){
mkoryak
+2  A: 

Your problem is on line 43, karlsten.js, on IE8, so you may want to debug it on IE8, if possible, or get the Web Developer Tools. $.get("ajax.php", {case: caseNr,

But, someone just submitted this before I did, with a good answer. :)

James Black