For a project a developer sent us a .js file with code similar to this:  var myList = [1,2,3]; var a,b,c;  [a,b,c] = myList;   It works in Opera 10.30, Firefox 3.6.x but it's not ok for Opera 10.60 and Chrome.  It's just curiosity, do you h...
I hate this mess with the mouse buttons created by W3C an MS! I want to know if the left mouse button is pressed when I get a mousedown event.   I use this code  // Return true if evt carries left mouse button press function detectLeftButton(evt) {...
I have a web page that loads in an IFRAME, that runs correctly in IE and Firefox but not in Opera.  Which I hate, because I've been an Opera user for years.  And I wrote this thing. :-)  The problem is that Opera is not loading some of the JavaSc...
In JS security issue with Opera 11.01, after moving from server A to B I learned that opera has some "cross-network" protection.  I encountered the same js security problem and I found that Opera 11.10 (“Barracuda”) added a preference to...
I am trying to open a print dialog box in Opera browser using javascript code as  <script language=javascript> window.print(); //This is working in IE, Netscape, Firefox, but not working in Opera </script>   where as if I am using the fol...
I am updating a site that I've built for the Nintendo Wii, and am looking for a good way to debug the application.  Wii's browser (a version of Opera 9.3) does not have any sort of JavaScript console.  I was going to use one of the various re...
I found this on a different question:   setCaretToPos = function(input, selectionStart, selectionEnd){       if(input.setSelectionRange){         input.focus();         input.setSelectionRange(selectionStart, selectionEnd);        }else if(input.crea...
Why is that changing a button text doesn't work in Opera 11.11 for elements like  <input type="submit" value="Asdasd" id="blahblah_button" />   ? (Didn't try it in earlier versions yet.)  I tried it with jQuery a...
I have a widget-like block of HTML+JavaScript that people can copy/paste into their HTML-page one or multiple times. That block checks if an external JavaScript file is already in the DOM, and loads it if not, something like this:  (function(){   d =...
I am designing a mobile website keeping in mind all leading browsers - Safari, Chrome, Dolphin, Opera.  I want to show a "loading" element as and when the page navigates / changes / new page is requested.  I cannot use click event on anchor t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.