I have the following code to load a new stylesheet to print a lightbox dialog:
$styleUrl = '../Content/styles/icis.dashboard.colorbox.print.css';
if (document.createStyleSheet) {
document.createStyleSheet($styleUrl);
}
else {
$('head').append('<link rel="stylesheet" type="text/css" href="../Content/styles/icis.dashboard.colorbox.print.css" media="print">');
}
How do i restrict the media type to print in the IE specific code?