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 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 currently have this Javascript in a file named getresults.js:  function getItems(str) { if (str=="")   {   document.getElementById("getItems").innerHTML="";   return;   } if (window.XMLHttpRequest)   {// code for IE7+, Firef...
I'm writing javascript code for a web emulator containing function keys. The user is able to press keyboard function keys to process something in the emulator, I used stopPropagation and preventDefault javascript function to stop/cancel browsers...
I'm using asp.net web forms. I add simple javascript function to button OnClientClick - I need to close window. But this simple peace of code stop working in Opera (12.10) after form data was changed:      <script type="text/javascript"...
I have a bit of Javascript that runs on an Android tablet, running Opera Mobile 12. The tablet is attached to the wall in an office, so it's used by everyone who works in this office, as a timekeeping system (ie. they use it to clock in/clock out...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.