Invoice software |
For below javascript code, i got error "Expected identifier, string or number" in IE but it's working fine in firefox and safari.
var RealtimeViewer =
{
timer : 5000,
Interval : null,
init: function() {
xxxxxxxxx
xxxxxxxxx
},
RatingUpdate: function(){
xxxxxxxx
xxxxxxxx
},
};
To solve the problem, remove the last "," before close the object RealtimeViewer "};". It will become
var RealtimeViewer = {
timer : 5000,
Interval : null,
init: function()
{
xxxxxxxxx
xxxxxxxxx
},
RatingUpdate: function()
{
xxxxxxxx
xxxxxxxx
}
};