internet-explorer-8

Fieldset with display: table-column disappears entirely in IE8 & IE9

一个人想着一个人 提交于 2019-12-13 07:22:56
问题 I just spent some trying to figure out why some form content vanished entirely in IE8 & IE9. After some investigation, it looks like it's the fault of having fieldset set to display:table-column. If I set fieldset to display:table or display:block then everything shows up fine, again. When testing this html on my IE8 & IE9 virtual machines, I can see only the heading "Not inside a fieldset". If I remove the fieldset styling, I can see both. Does anyone know why this happens? <html> <head>

jQuery why this does not work $(“:input”).change(function(){});

99封情书 提交于 2019-12-13 07:08:25
问题 $(":input").change(function() {alert("hello");} Basic idea is when input changes, do the function. But it wouldn't work with IE8, when I changed some words in the input text field, the function was not triggered. This does not happen with other versions of IE(9+) or other browsers. 回答1: Maybe its an issue with the event itself. maybe try: var ie8 = /msie 8/gi.test(window.navigator.userAgent); $("input").bind(ie8 ? 'propertychange' : 'change', function() { alert("hello"); } Edit Note: Newer

CSS border and padding not working in IE 8 + 9

笑着哭i 提交于 2019-12-13 07:06:39
问题 I have the following DOM and CSS: var tableRow = jQuery( jQuery('<tr/>') .addClass('tr_class') .append( jQuery('<h3/>') .text('Title') .addClass('first_class second_class') ) ).appendTo(table); .tr_class{ padding: 0px 0px 2px 5px; /*not working*/ display: block; /*not working*/ } h3.first_class { font-weight: bold; /*working*/ } h3.second_class { border-bottom: 1px solid #5f7836; /*not working*/ padding: 3px; /*not working*/ display: block; /*not working*/ font-size: 11px; /*working*/ } In

why do these calendar javascripts hide select, applet, and iframe tags for IE?

空扰寡人 提交于 2019-12-13 07:05:52
问题 I'm trying to diagnose a problem with an older site than I'm supporting. The problem is that in IE8, a SELECT tag is being hidden. Turns out it is due to an older version of a calendar.js which is applying visibility:hidden style to not only SELECT Tags, but also applets and iframes. I'm rusty on my javascript and details of older browser quirks, but the thing I find odd is that it's hiding these tags when they are unrelated to the calendar. In the page with the problem, this select tag that

jQuery function before the Postback for FileUpload in ASP.NET

人盡茶涼 提交于 2019-12-13 06:33:31
问题 So, I have an .aspx webpage as follows: .. <form id="frm" runat="server"> <asp:FileUpload runat="server" id="fileupload" onchange="browsed()" /> <asp:Button runat="server" OnClick="Upload_Click" id="uploadbutton" class="uploadbutton" Text="start upload" Enabled="false" /> <div id="nfo" style="display: none"> blabla </div> </form> .. Now, as you can guess correctly, user chooses file to upload, clicks #uploadbutton and, voila, Upload_Click is called after the postback. Then, I want to show div

Why does IE (IE8, specifically) not highlight selected option in a multi select box which is disabled?

淺唱寂寞╮ 提交于 2019-12-13 06:32:13
问题 I am having a multi select box in a JSP page which has some options and is disabled. <select id="mySelectBox" multiple disabled> <option value="first" selected>First</option> <option value="second">Second</option> <option value="third">Third</option> <option value="fourth" selected>Fourth</option> </select> I have the first and the fourth options selected, but they are not highlighted in IE They are properly highlighted when I use Firefox. Is there any solution or workaround for this? EDIT:

CSS radial gradient on ie8 and ie9

五迷三道 提交于 2019-12-13 06:27:34
问题 Is there a way to make the following work on ie8 and ie9? Thanks background: -moz-moz-radial-gradient(center top, farthest-side, rgba(175,175,175,0.3) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */ background: -webkit-gradient(radial, center top, farthest-side, 0px, center top, farthest-side, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ background: -webkit-radial-gradient(center top, farthest-side, rgba(175,175,175,0.3) 0%,rgba(255,255

jQuery - IE8 select option will not break/wrap text in a dropdown

强颜欢笑 提交于 2019-12-13 06:08:44
问题 Using jQuery 1.9.1 & have the following code in my CSS for the web page: .breakword { -ms-word-break: break-all; word-break: break-all; // Non standard for webkit word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; font-size: 0.9em; font-weight: normal; } The HTML code has: <td class="breakword" align="left" style="width:54%;vertical-align:middle;"> <select name="vlist" id="vlist" class="choices"> </select> </td> The select above is populated with results from a

Google Maps API v3 not loading without fitbounds, zooming causing infinite loop/stackoverflow

折月煮酒 提交于 2019-12-13 06:05:53
问题 Previous question here: stack overflow with Google maps API (IE7 IE8) I found the following question in the mean time: Google Maps API v3: Can I setZoom after fitBounds? The solution there works just fine, when I have more than one marker on the map. However when I visit a subpage of groupbke.young.netaffinity.net eg. https://groupbke.young.netaffinity.net/hotels/ireland/dublin/dublin/young-testing-hotel-liege/specials/bed-and-breakfast the map will only load if map.fitBounds() is called. On

stack overflow with Google maps API (IE7 IE8)

醉酒当歌 提交于 2019-12-13 06:00:09
问题 I've been fighting an issue with google maps on our site which occurs on first load on IE7 and IE8. I was trying to deal with the solution by combining firefox and ie8 debuggers, but it's quite difficult (and my boss is pushing me on other issues as well) as the JS is minified and IE debugger cant do a thing about it. We have two versions of the same site, one at irelandhotels.com and the dev environment at groupbke.young.netaffinity.net. First one has 500+ markers, the dev environment only 5