FAQ Database Discussion Community


Java exception detected in safari but not detected in IE?

java,internet-explorer,nullpointerexception,safari
I have a java applet code that works fine when it's opened from IE, but if it's opened from Safari, Java console produces a nullpointerexception. The code that generate this behaviour is shown below: public class MsgBoxPanel extends JDialog { Panel panel1 = new Panel(); JLabel label1 = new JLabel();...

Select picture failure at IE and Firefox

javascript,html,google-chrome,internet-explorer,firefox
Why when I modify $(document).mousemove and $(document).mousedown to $(".desktop").mousemove and $(".desktop").mousedown, it does not run as I expect in IE and firefox, but ok in Chrome. Javascript file using in the html file:http://pan.baidu.com/s/1sj9fpKh <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <!-- saved from url=(0033)http://demo.jq22.com/jquery-win7/ --> <!DOCTYPE html PUBLIC "-//W3C//DTD...

IE6 - custom tags without namespaces

javascript,html,internet-explorer
Is it possible in Internet Explorer 6 - yes, IE6 :( - to use custom tags without defining namespaces. Example: <!-- NS is namespace --> <html XMLNS:NS> <head> <style type="text/css"> NS/:myTag { color: #666; font-size: 20px; } </style> </head> <body> <NS:myTag> The quick brown fox jumps over the lazy dog...

store Hebrew in database with utf- 8 encoding using php and mysql

html,mysql,internet-explorer,encoding,utf-8
I am building a web site with database in Hebrew (using php and mysql). on general I use chrome to test my job... today I tried explorer :-0 (yeh... you must be thinking "why the f*** would he do it... ;) ). I found out that all the data that...

website not working on Internet Explorer

internet-explorer,browser,cross-browser,hover
I have a vertical menu in a side bar with a hover over submenu however in IE the hover menu decides to appear in the middle of the page. I'm using IE11 so it doesnt support the IE only css. I'm not sure what has cause the problem..here is a...

single Ajax Post request not working in IE

javascript,jquery,html,ajax,internet-explorer
I have some code that uses jquery to create dialogs from some hidden forms in my html: $("#editdeletediv").load().dialog( { //Set options for the dialog here title: 'Edit/Delete log', modal: true, autoResize:true, maxWidth: 600, minWidth: 500, buttons: { Delete: function(){ $('#confirmdelete').load().dialog( { //Set options for the dialog here title: 'Confirm deletion',...

JavaScript Date not working properly in IE8 [duplicate]

javascript,google-chrome,internet-explorer
This question already has an answer here: Javascript JSON Date parse in IE7/IE8 returns NaN 6 answers Chrome showing result as expected but IE-8 giving NAN when i execute the following: Chrome: d = new Date("2014 12 01") // results Mon Dec 01 2014 00:00:00 GMT+0500 (Pakistan Standard Time)...

Underscore.js template IE9 / IE10 not returning right code

javascript,internet-explorer,underscore.js,template-engine,underscore.js-templating
I have this code in my js file var selectedTagElement = _.template('$("#selected_tag_item_template").html()', item = { tag: label, value: value }); $('#wrapper_id').append(selectedTagElement); and this in my html file <script type="text/template" id="selected_tag_item_template"> <div class="tag_item selected js-selected_tag_item" data-tag-value="<%= item.value %>" data-tag-label="<%= item.tag %>"><%= item.tag %> </div> </script> Everything is working fine in all...

Grails restrict old browsers

internet-explorer,grails
I'm running in Grails v2.4.4. How can I prevent user access web in the old browsers. This page works only on IE9 or higher. How can I stop them with lower? I looked on Grails plug in and found browser detection plugin. But in seems to work on view site...

IE 11 issue with flexbox item with max-width

html,css,internet-explorer,internet-explorer-11
In IE11 when an item items don't properly center if they have maximum width property. This example however works in Chrome and FF. .container{ display: flex; justify-content: center; align-items: center; background-color: blue; width: 100%; } .box{ background-color: red; flex-grow: 1; display:flex; max-width: 200px; } http://jsbin.com/riloravopu/7/edit...

History token fires twice if the URLhas a special character in IE

java,internet-explorer,gwt
I have a code that is working perfectly fine in firefox and chrome, but not very well in IE. I am using GWT 2.5.1 . The issue is that i am sending a string to query via the URL. If that string contains special character like % or ^ or...

Using angularJS click on enter form functionality in Internet Explorer

javascript,html,angularjs,internet-explorer,default
I have a form in angularJS like this: <form> <div class="row form-group"> <div class="col-xs-4"> <label>Product name:</label> </div> <div class="col-xs-8"> <input ng-model="vm.name" ng-disabled="vm.product.name"> </div> </div> <button ng-hide="1" ng-click="vm.addName()"></button> </form> The idea being that when a user enters a name the form locks it (inside addName()) and does an API call to...

How To Write Acceptance Tests for Internet Explorer with: Selenium, PHPUnit and Mac OS X?

osx,internet-explorer,selenium,phpunit,acceptance-testing
I'm trying to write acceptance tests for a project using multiple browsers. All the tests run fine with: Firefox, Chrome and Safari. However, I don't know how to run them in Internet Explorer. I use: PHPUnit, Selenium and Mac OS X. I also use VirtualBox with Windows 8 and Windows...

table width not adaptive in IE

html,css,internet-explorer
table not displaying full-width in IE Explorer. How to make the table's width not depend on the column width, e.g., 100px*3, but depend on the window width? CSS Code: table { border-collapse: collapse; border-spacing: 0; background-color: transparent; width: 100%; table-layout: fixed; } HTML Code: <table class="table table-hover table-bordered"> <thead> <tr>...

Using getComputedStyle with IE 11

javascript,jquery,css,internet-explorer
NOTE: This has an update below. I will likely change description as it is not a getComputedStyle issue, it is an issue actually with print-media and the fact that Internet Explorer now supports document.styleSheets[].cssRules. I am a bit confused on this as I thought this worked and I am not...

What is the proper way to get the value of a React