[TableTools] sPrintMessage not showing up in IE
[TableTools] sPrintMessage not showing up in IE
Hey. I'm new to both this product and jQuery but am so far impressed with its capabilities. I did recently find a problem in the print function that I don't see mentioned anywhere. sPrintMessage is supposed to show up at the top of the page being printed, and in FireFox, it does. It was failing and throwing a rather obscure JS error in IE8.0.6x. I found that what the print function does is write sPrintMessage to the innerHTML property of a p object that is added to the DOM. The problem appears to be that IE doesn't recognize the p object as having an innerHTML property. I changed the .createObject() call to create a div and it works just fine. I suppose a span would work just as well but haven't tested.
Has anybody else seen this behavior? Could it have been introduced with IE8?
Thanks for any feedback.
EdC
Has anybody else seen this behavior? Could it have been introduced with IE8?
Thanks for any feedback.
EdC
This discussion has been closed.
Replies