internet-explorer-8

IE8 Jquery Javascript “Error: Object required” Bug

五迷三道 提交于 2019-12-13 03:55:45
问题 IE8 throws an "Error: Object required" message (error in the actual jquery library script, not my javascript file) when the switch statement in this function runs. This code works in IE6, IE7, FF3, and Safari... Any ideas? Does it have something to do with the '$(this)' selector in the switch? Thanks! function totshirts(){ $('.shirt-totals input').val('0'); var cxs = 0; var cs = 0; var cm = 0; $.each($('select.size'), function() { switch($(this).val()){ case "cxs": cxs ++; $('input[name="cxs"

trying to print the contents in a new window

久未见 提交于 2019-12-13 03:37:49
问题 I am trying to print the html contents to a new window . var w= window.open(); var htmlContent = $(printdiv).html(printcontent); $(w.document.body).html(htmlContent); $(w).location.reload(); $(w).focus(); $(w).print(); $(w).close(); I am a getting a blank window with no html contents instead? 回答1: Try setting new window name reference , removing $() wrapper around w at .focus() , .print() , .close() as jQuery() does not have method .print() calling .print() chained to $() would return

Javascript code not displaying wanted output

你离开我真会死。 提交于 2019-12-13 03:19:39
问题 I've written some code to display my favorites in IE8 but for an unknown reason I have no output on the screen despite the fact that my page is accepted by IE and that the test text 'this is a test' is displayed. my code : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso 8859-1" /> <script type="text/javascript"> var i = 0; var favString = ""; var fso; function GetFavourites(Folder) { var FavFolder = fso.GetFolder(Folder); //Gets Favourite Names & URL's for given

IE7 css block relative position with Javascript bug

£可爱£侵袭症+ 提交于 2019-12-13 02:59:57
问题 I have a simple JS script that moves a CSS block at a specific path when a value is given to it. You can take a look at the code here http://jsfiddle.net/rayshinn/6DGfb/ This code seem to work fine on Chrome and Firefox except IE7. The error I get from IE is as follows Line: 27 Char:13 Error: Object doesn't support this property or method Code: 0 URL: http://localhost/test/js/plot.js Line 27 is as follows marker = document.getElementById("marker"); this.setPosition(INITIAL_X, INITIAL_Y);

IE8 Not picking up 'Float Left' and 'Fonts'

北战南征 提交于 2019-12-13 02:57:35
问题 Hey my site is working fine except in IE8. The Menu bar is not displayed properly. My theory is the Float Left is not working but it could be something else. Also the font which is Calibri isn't showing up properly. Is there any way to fix these two problems. The website is eagleview.it This is the nav ul for index.css: nav ul { width:900px; list-style: none; margin:15px; position: relative; } nav ul li { display::inline;} nav ul li a { float:left; display: block; padding: 0 15px; margin:

Internet Explorer buggy when accessing a custom weblogic provider

浪子不回头ぞ 提交于 2019-12-13 02:49:12
问题 I've created a custom Weblogic Security Authentication Provider on version 10.3 that includes a custom login module to validate users. As part of the provider, I've implemented the ServletAuthenticationFilter and added one filter. The filter acts as a common log on page for all the applications within the domain. When we access any secured URLs by entering them in the address bar, this works fine in IE and Firefox. But when we bookmark the link in IE an odd thing happens. If I click the

ASP.NET MVC Razor Url.Action doesn't work in Internet Explorer 8

人走茶凉 提交于 2019-12-13 01:47:49
问题 I developed a simple ASP.NET MVC3 project with Razor. Linking between pages, I use the following table: <table class="indexTable" align="left"> <tr> <td class="indexTd"> <a class="noUL" href='@Url.Action("Index", "ProblemEntrance")'><button class="menuButton">@ViewBag.ProblemEntrance</button></a> </td> So when I click on ProblemEntrance, it takes me from ProblemEntranceController to ProblemEntrance Index page. Everything works fine in Mozilla and Chrome, but with Internet Explorer, the page

Link arrows dropping to new line

大兔子大兔子 提交于 2019-12-13 01:33:47
问题 I have a sidebar with a list of links and each link has an arrow icon to the right of it (set in the anchor styles using the :after selector). On many of the links, the arrow is dropping down to its own line. I want to make sure the text can break to a new line as needed, but prevent the arrow from being orphaned onto a line by itself. I thought I had solved the problem by using "white-space: nowrap" on the :after pseudo element because that worked in Firefox. Unfortunately, I discovered it

How do you get the File:// protocol to work in IE8?

血红的双手。 提交于 2019-12-13 01:23:23
问题 I am running a website on my local machine ("http://localhost/asdf") and trying to get some file:// protocol links to work. In reality I'm trying to open a folder, not a specific file, but I can't get either to work. I've put localhost in my "trusted zone", I've tried every combo of "file" ,":", some number of "/" and then a whole bunch of different paths, but encoded and not encoded. Nothing I do causes anything to open when I click on the link. If I copy the link destination, and paste that

Script to force IE8 cache behaviour

佐手、 提交于 2019-12-13 00:09:47
问题 in IE8, there's an option on cache developer tools called "refresh always from server". Is it possible to have some javascript or similar to force this behaviour or I have to do it always manually? I've tried <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> but the refreshing issue in my application seems to be resolved only by checking "refresh always from server" on cache options panel. Thanks 回答1: If you're using jQuery, you can do: $.ajaxSetup({ cache: false }); which has solved many IE8