internet-explorer-10

tableToExcel jQuery throws strange error in IE

只谈情不闲聊 提交于 2019-11-28 13:50:27
I am using a jQuery function to export my HTML table to Excel. This is a function I have seen used in plenty of other places, and it works fine for me in Chrome: var tableToExcel = (function() { var uri = 'data:application/vnd.ms-excel;base64,' , template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x

HTML5 number input field step attribute broken in Internet Explorer 10 and Internet Explorer 11

邮差的信 提交于 2019-11-28 12:09:08
It appears some of my website's users are experiencing issues when attempting to insert values into input fields of type number with the step attribute set. I am using Django 1.6 to render the forms to HTML. The number fields map to an underlying DecimalField model field with max_digits=25 and decimal_places=5 This results in the following example html being rendered for the number field: <input type="number" value="" step="0.00001" name="quantity" id="id_quantity"> The step attribute I know is not yet supported in FireFox but is in Opera, Chrome, Safari and IE10+ Everything works fine in all

Attach event to clear icon in IE10 textbox

给你一囗甜甜゛ 提交于 2019-11-28 12:06:53
In IE10 a small X icon appears in the textbox to clear the input text. How can an event be attached to that action (=clicking on that X and clearing the input)? It seems there's not an exact event for this ( onchange is not suitable). However, you can use oninput and check, if the value of the input is empty: document.getElementById('input_ID').addEventListener('input', function () { if (this.value === '') { alert('No value'); } }, false); This event is triggered also, if user clears the input with BACKSPACE or DELETE , or cuts the content to the clipboard. oninput works at least in Chrome, FF

jQuery validate bug with required validation on IE10 in compatibility mode to IE7/IE8

牧云@^-^@ 提交于 2019-11-28 12:00:03
问题 there is a Confirmed bug in IE10 compatibility mode that won't be fixed for IE10: In IE10 in compatibility to IE8 $element.get(0).getAttribute("required") returns "" when the required attribute is missing, this causes ALL fields to be required In IE10 in compatibility to IE7 $element.get(0).getAttribute("required") returns null in all cases. so you can't use required as an attribute on the element The plugin Author doesn't plan to handle compatibility views as users shouldn't encounter it,

Hide or change the value label for a range input in IE10

痞子三分冷 提交于 2019-11-28 11:58:51
I have a range input with a custom label displaying text which corresponds to the input's value. This works well except that Internet Explorer 10 also displays its own tooltip-like label containing the value. The trouble is that this tooltip obscures my label. It also displays an integer value, where the actual value of the control is a float. I cannot figure out how to hide the label or modify its text. It is separate from the tooltip and does not respond to the title attribute. It does not respond to z-index either, so I can't just position my label above it. I see no property mentioned in

IE10 not playing a video when using the <video> tag, but plays it when requesting the video directly

混江龙づ霸主 提交于 2019-11-28 11:48:18
I have a webpage with a tag on it with the following markup: <video width="456" height="360" controls autoplay> <source src="Movies/Intro.mp4" type="video/mp4" /> <source src="Movies/Intro_H264.webm" type='video/webm; codecs="vp8.0, vorbis"'/> <source src="Movies/Intro_H264.ogg" type='video/ogg; codecs="theora, vorbis"'/> </video> If I visit this page in IE10 it renders the video player but with an error message that reads: "Error: unsupported video type of invalid file path" But what's odd is if I right-click on the video box and choose, Copy video URL, and then open a new tab in IE and paste

Detect IE compatibility-mode with only PHP

蹲街弑〆低调 提交于 2019-11-28 10:42:13
问题 Is it possible to detect that IE is in compatibility mode from the useragent with PHP ? I use IE10 and have the useragent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) So it appears as Internet Explorer 7 then. Sure, It would be a bad idea to rely on only such a detection by PHP, but it is very useful for some ocasions (for example logging with PHP or debugging

IE10 text-overflow ellipsis not working

落爺英雄遲暮 提交于 2019-11-28 10:24:41
问题 I have an <a> tag in html, and I want it to be ellipsis. But when I add a <div> inside the <a> tag, 'text-overflow' doesn't work. HTML: <div class=boxed> <h1>text-overflow Attribute Sample</h1> <a href="#" class="caption"> <!----><div style="width:100px;height:20px;border: 1px solid red"></div> Each box (div element) below contains the following text: </a> </div> CSS: div.boxed { width: 200px; height: 200px; border: 1px solid blue; font: 14px Times New Roman, serif; overflow:hidden; 'position

IE10 - how to prevent “Your current security settings do not allow this file to be downloaded” popup from appearing?

南楼画角 提交于 2019-11-28 10:15:49
I’m using wpf WebBrowser control (System.Windows.Controls) and I need to prevent users from performing various actions like downloading files or printing pages. I have disabled file download option in Internet Explorer options (Security tab -> Custom Level -> Downloads -> File Download). Because of that, after clicking let’s say on a pdf link, instead of a file download popup I get a popup with such a message: "Your current security settings do not allow this file to be downloaded". Is there a way to prevent this message from occurring? I just want no action to be performed from a user

IE10 Select box issue

谁都会走 提交于 2019-11-28 10:03:47
I was testing my application in IE10 and found a strange behavior for select box. The option selected is highlighted and options above/below are displayed above/below the selected one. The drop down box is hidden. This happens only in IE10. In all other browsers, options are displayed below the select box. Try with below sample code in IE10 and IE9: <!DOCTYPE html> <html> <body> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="opel">Opel</option> <option value="audi">Audi</option> </select> </body> </html> Is there any way to make the options