Whilst trying to get our app working in Firefox (I'm a big proponent of X-Browser support but our lead dev is resisting me saying IE is good enough). So I'm doing ... |
We have a javascript funtion named "move" which does just "windows.location.href = any given anchor".
This function works on IE, Opera and Safari, but somehow is ignored in Firefox. Researching on ... |
How do I expand/collapse an html field in Firefox? I incorporated a few JavaScript examples from the web, but they only worked in IE. (I'm limited to HTML and JS)
Suggestions are ... |
Queston:
IE and Firefox / Safari seem to deal differently with BASE HREF and Javascript window.location type requests. First, is this an accurate description of the problem? What's going on? And what's ... |
From an input text I need to call a function to capture the onkeydown event and I need to pass a parameter to that event, for example:
<input type="text" onkeydown="TextOnKeyDown('myPrefix');" />...
Then in ... |
After clicking a link with a common href (local page or web-site)
and the href is successfully loaded, both FF2 and IE7 will display
the link with a:visited styling.
For links with href="javascript:anyfunc()", IE7 ... |
Can anyone help? I have been designing a site using Javascript but the rest of the html content is static ie. images etc
When i load my page in Firefox i have ... |
|
I have a link on my site that is strictly JavaScript, that the users can optionally drag to their browser's link bar. Because there is no associated site with a Favicon, ... |
Okay, so I'm writing some Javascript for a simple effect: when a drop down gets selected, a series of options will appear, depending on which one is chosen. This works great ... |
I have to code below - works great in IE and Opera, but does not work
at all in Firefox / Netscape. Any ideas?
The problem is that nothing happens when clicking printer ... |
I have an HTML form with a select list and a radio button, both of which are initially set with disabled = true. At some point, these elements are enabled ... |
What changes do I have to make to the following simple HTML page to get Firefox to read and set a custom attribute as it does in IE?
<!DOCTYPE html PUBLIC "-//W3C//DTD ...
|
Please see this:
http://jsbin.com/igeqa
here, i am simply using
alert ( tableObj.childNodes.length );
and in FF the output is 5 , while in IE it is 2. Please tell me ... |
I want to count number of words & number of characters in html text (TEMP),
and while doing that i want to skip HTML tags and html keywords (ex. )
suppose i am ... |
There is a HTML textarea. I'm able to catch that event when a local file is dragged and dropped onto the textarea. But how to obtain the name of the dropped ... |
I'm using this:
$('document').ready(function(){
$('textarea').attr('wrap', 'off');
});
(JQuery) (Firefox 3.5)
I'm checking with WebDeveloper that the wrap attribute indeed is set to off in the page when I'm loading it up, but ... |
I am currently using code similar to this:
try {
// IE ONLY
var theElement = "myElementName";
window.frames[theElement].focus();
var selection = window.frames[theElement].document.selection.createRange();
alert ( selection.htmlText );
} catch(e) {
var selection ...
|
Is there a way to show html source in the browser after insertion by js via ~.innerHTML = Source; ?
|
I have two image swap functions and one works in Firefox and the other does not. The swap functions are identical and both work fine in IE. Firefox does not even ... |
I am working on a Javascript WYSIWYG editor in Firefox. I am using a div with the contenteditable attribute set to true in order to accomplish this (I cannot use ... |
I'm trying to open a file located on a networkshare by giving the anchor tag path =
file://///servername/folder/file.docx
This works in IE8 and i'm able to open the file in word, however in ... |
I'm getting the weirdest issues with Javascript in Firefox today.
I'm trying to manipulate some table rows, but .getElementsByTagName("tr");
is pulling back junk.
dynamicTable.tableBody = dynamicTable.getElementsByTagName("tbody")[0];
var tableRows = dynamicTable.tableBody.getElementsByTagName("TR");
var actualTableRows = new Array();
for(var i ...
|
We are using the getElementsByTagName function to find out domnodes present in the article.
We found that IE and Firefox give different result for broken tag as below.
e.g.
<a href="http://www.yahoo.com">Bypass HTML tags</ ... |
I need a means of getting past Firefox's irritating refusal to pass the full path of a file selected using the input file element. This issue has come up in ... |
I am having the following HTML file protected through JavaScript.
It works fine with Firefox, howover, when it is opened with IE, the JavaScript seems not get invoked. The grading.pdf is directly ... |
I'm trying to replace a bunch of innerHTML references in code with DOM-compliant node stuff.
<html>
<body>hehe</body>
<script type="text/javascript">
...
|
I am writing some web app, from web app I want to know if skype is installed or not on a machine from which web page is called. Is this possible? ... |
I'm working on a function to detect whether text inside of a DIV element would overflow. In this regard I have a function working in both Chrome and IE that compares ... |
Hello :)
Why do this JavaScript not work in the FF 3.6 but in the IE7/8 this Script works good?
You can see the Problem on this Site: http://www.conventioncologne.de/en/social-program/city-tours/adventure-tours/tutanchamun-late-walk-allein-mit-dem-pharao.html
imgslider.js
Array.prototype.search = function(value, ...
|
I have a problem with JavaScript running in Firefox. The script below runs without a problem in other browsers except Firefox.
var vars = [], hash;
...
|
I have a onclick event in JavaScript that I have chosen to format as below:
<a href="" onclick = "
...
|
I have written a code in javascript. The code works fine in IE, Chrome and safari but firefox gives problems. Nearly every javascript function of mine fails to work in firefox. ... |
i would like if anyone can help me with my code, it uses onPropertyChange in and it works in chrome and opera, but in firefox it doesnt work.
here is my ... |
After realizing the difference between "raw HTTP GET response" and "live DOM" and how to access both, I have been trying web sites/pages that have a significant difference between the ... |
Now that I understand how to access both the raw HTML+Javascript (as received by HTTP GET) and the rendered-result of auto-processing of the Javascript upon page load completion, I need ... |
While testing in development, how can you disable cache for all your local scripts/styles, and keep the cache working for all the external scripts/styles? Preferably firefox
Basically when making changes to css, ... |
I am working with user data and cannot allow it to be cached.
I am testing with Firefox 4 and a Tomcat 6 server with the cache-control set at no-cache, no-store, ... |
I'm trying to add a select box dynamically to a page with two radio boxes, but the firefox behaviour is strange. Although the first radio button explicitly defined as checked, but ... |
I want to save a HTML page using JavaScript in Firefox.
I've tried the code below, but it only works in IE:
function doSaveAs() {
if (document.execCommand) {
...
|
I'm trying to learn how to create a as a child of another using JavaScript. My example below is functioning fine in Chrome and IE, but in Firefox ... |
I work on web accessibility for blind people interacting with a screen reader Jaws and a vocal synthesizer.
I am using x/html with wai-aria and javascript to design accessible web pages of ... |
This is my code:
<script>
function f(){
var i=document.getElementById("i");
i.focus();
var evt = document.createEvent("KeyboardEvent");
evt.initKeyEvent("keypress", true, true, null, false, false, false, false,
0, 32);
i.dispatchEvent(evt);
}
</script>
<body onload="f();">
<input id="i"/>
</body>
Open the script ... |
I am trying to insert some text content at the cursor position in my contentEditable iframe
for the following content(<span style='fontweight:bold'>ab</span>)
ab... Here i place the cursor after ab and if if i ... |
Given this example HTML that my GM script runs on, I want to make a code that captures the ID from http://www.mycharactersID.com/ID=234223
After the JavaScript got 234223, and the other ID's on ... |
I'm new to using Jetpack. I wanted to open a tab from main.js so I did:
tabs.open(data.url("page.html"));
But how do I give the page that opens access to the require functions I have ... |
I have two forms (form1, form2) on two frames (left, right). The left frame has the onclick button which gets the data from the right form2 and then saves it into ... |
Is it possible to insert or embbed html or even js scripts, into another html page using javascript. the purpose is to create a firefox add-on that would display alongside the ... |
Clicking on them now does nothing.
It seems that a part of the URL produced is to blame:
http://vi.ebaydesc.com.au/ws/eBayISAPI.dll?ViewItemDescV4&item=123456789&t=123456789&ds=0&js=-1&ssid=15&seller=membername&category=179&bv=mozilla&nv=2&sd=1&caz.html#description
Taking away the bv=mozilla makes them work again. Any idea what's going and ... |
For a long and convoluted reason I need to include a html code spaces in a class name - there is no other option.
This class links to some javascript to ... |
i tried just this:
<table><tr><td>
<!--[if !IE]>
non ie browser
<![endif]-->
</tr></td></table>
on firefox I can't see what I expect: "non ie browser"
why?
|
I have a function which is use to check Chinese input in a textarea then set the maximum length , it works with IE, Opera, Chrome except Firefox.
Is there any way ... |
How come I get this message from Firefox Web Console
The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page
The same ... |
Hi, location.href is not working on FF 3.5,Chrome,safari on line 49 in the included jsp. location.href is working fine with IE 6,7,8.Please guide me. <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> |