Stupid IE won't show UI Dialog
I took the demo from the jQuery UI website. Changed a few things (see
below). Works great with Safari and FF, but IE (6.0 and 7.0) give me
an error: "Expected identifier, string or number" and I just don't
understand why.
I am using the latest jQuery and UI scripts (downloaded them
yesterday), uncompressed.
$(function() {
$("#dialog").dialog({
bgiframe: true,
resizable: false,
height:200,
modal: true,
overlay: {
backgroundColor: '#000',
opacity: 0.5
},
autoOpen: false,
buttons: {
'Simple': function() {
document.getElementById(changeID).innerHTML="Simple";
$(this).dialog('close');
},
'Composé': function() {
document.getElementById(changeID).innerHTML="Composé";
$(this).dialog('close');
},
} ******** Gives me an error on this line
});
});