I’m trying without success to disable scroll on an HTML5 date input. This input has a webshim fallback, which cause my JS to works with Chrome, but not Firefox. Does anyone ever faced this issue? Answer I had the opportunity to discuss of this problem with webshim’s author, and it was found that an option is available to avoid this
Tag: firefox
Clear the console in Firefox
Is there a way to clear the console in Firefox? In Chrome I can use… (Not sure if it works for Safari or Opera though) However I haven’t been able to find a solution for Firefox. Is this type of API not yet available? Is there a workaround that doesn’t require? Answer In firefox you can just input clear(). It
jQuery – Can not select first option on last optgroup
I have small problem. I need select option from <select> A, which triggered action and select his first <option> in <select> B by value from selected <option> from A. Everything works fine, but I can’t select ONLY last optgroup and his option. Try to look at jsfiddle This bug seems to be only on Firefox (Linux, Win7). Google Chrome is
Is it possible to flush the console (make it print immediately)?
I use Firefox + Firebug for some Javascripting. The text I’m trying to log with console.log does not immediately appear in Firebug’s console. It seems like it piles up in a buffer somewhere, and then gets flushed to console in chunks. I have a function that makes a few log calls. Sometimes I get just the first line, sometimes –
Firefox div > svg mouseover fires OUTSIDE div
I have a div with two svg-elements inside, which are shown/hidden when hovering with the mouse. The mouseover event is registered with the div. On Chrome and Safari it works, on FF the SVG sits at a different position and the “hitbox” of the div where I can hover, is very large, like 3 times the actual size of the
$(window).load doesn’t seem to be working in firefox
So I’ve got some code that need’s to be executed only when content of the website is loaded so I place it within window load, like this: Works perfectly fine in safari and chrome (I’m on mac osx 10.8), however doesn’t seem to be working on firefox (19.0.2). Is there a fix or something that need’s to be applied in
View JSON file in Browser
It is not a programming question, but need your views in few words. When we hit the JSON url in Broswer, it asks us to save the file. Why this happens ? Is there any way to view it on the page itself ? Is there any addon available to view JSON file in browser? Answer In Chrome use JSONView
How to solve different FPS in requestAnimationFrame on different browsers?
How to solve different FPS in requestAnimationFrame on different browsers? I am making a 3D game using THREE.js that uses requestAnimationFrame and it is fast on Google Chrome 15. However, it is really slow on Firefox 6 and really really slow (slower than Firefox) on IE9. This is really a big problem and I am wondering if there is a
.setAttribute(“disabled”, false); changes editable attribute to false
I want to have textboxes related to radiobuttons. Therefore each radio button should enable it’s textbox and disable the others. However when I set the disabled attribute of textbox to true, it changes the editable attribute too. I tried setting editable attribute true again but it did not work. This was what I tried: JS function: XUL elements: Answer A
event.target on Firefox
Works fine on Google Chrome and IE but not on Firefox. Tried it on Google. Google says event.srcElement (works on IE but not on Firefox) so I have added event.target but still not working. Is there anymore changes I need to do to work on Firefox? By the way I’m using 3.5 version of Firefox. Please help me to make