firefox

Client-side table rendering with extremely large data tables

Problem: Customer X has requested that pages using XML DataBinding and Databound tables in MSIE be re-factored to work cross-browser. Question: What is the best-practice way to mimic the MSIE DataBinding feature of MSIE cross-browser (i.e., in both MSIE and Firefox). Features: Customer X already gets the following using MSIE DataBindin...

jquery $.post not working in Firefox

I am begging to use jquery. I have the following call that works in IE7 but not FF 3.0.4. But if I change the null to {} it works fine. Is null not valid for this case and I just got lucky that it worked in IE or is this an error with jquery. $.post("complexitybar.ashx?a=init&vc=" + validationCode, null, loadInitialValues, "json"); ...

Firefox won't display an image!

This is very interesting to me... This image displays perfectly well in Safari, but not at all in Firefox! Here's the relevant code: <div id="ad"> <p>Advertisment</p> <img src="/ADS/fakead1.gif" /> </div> With CSS: #ad{color: #666;} #ad p{ font-size: .5em; text-align: center; padding: 0; margin: 0; } #ad img...

Multiple password forms + password completion

On a website I'm working we have an onsite login and a private login, the problem I'm having is that Firefox doesn't seem to be able to differentiate between these login forms. Does anybody know how I can make clear that these are different logins? I already tried giving the form fields different names and ids, ex: onsite_login and log...

JavaScript/Greasemonkey: Avoiding FireFox Security Warning when Submitting a Form from a Secure Page

Hi, I'm writing a Greasemonkey script to connect two company-internal webpages. One is SSL, and the other is insecure and can only be accessed via a POST request. If I create a hidden form on the secure page and submit it via an onclick() in an <a>, it works fine, but FF gives a warning: Although this page is encrypted, the infor...

Has anyone fixed the jQuery dialog button format in IE6 while using a Themeroller'ed theme?

I used Themeroller to generate an app theme and I am using jQuery and jQuery UI to create some modal dialog alerts. They work fine (and look great) on Firefox 2 and 3, but the buttons are shifted to the right on IE 6 and 7. It looks like it's being bitten by the IE margin bugs, but I wanted to see if there was an easy fix before digging ...

Is there any way to change the taskbar icon of a browser in windows?

Is there any way to change the taskbar icon of a browser in windows? I open alot of browser windows, and I like to group similar websites (in tabs) by window. So I was wondering if there was a way to assign a taskbar icon to them so that you can more easily differentiate between them. ...

getJSON call working on IE 7 but not Firefox 3...

Hi all, I have a web application that uses the current version of JQuery that needs to get some JSON objects back from a REST web service. I'm using the following call to $.getJSON: $.getJSON("http://localhost:17245/Service.svc/?format=json", function(data) {alert(data.id);}); This call works fine in IE7 and I can call the service wit...

Why do IE and Firefox render the same image differently, how can I prevent it?

On the left you will notice the google logo rendered by IE, I drew a black line at the top and bottom of the G which extends into the FF windows which rendered the same exact logo yet the FF version renders the image larger. There is NO css linked to this page, just plain and simple Html. Can anyone tell me why this is happening and ...

getImageData in Firefox 3 causing NS_ERROR_DOM_SECURITY_ERR

I'm trying to develop an application that will use getImageData in javascript in Firefox 3, but I am getting a "NS_ERROR_DOM_SECURITY_ERR" on the getImageData call. The javascript and the image are both currently being served from by hard drive, which is apparently a security violation? When this is live they will both be served from the...

Mozilla Firefox & Internet Explorer Clipboard ASP.NET

Hi Guys, I need to copy a text from a textbox into the clipboard with ASP.NET, I want a code that is compatable with Mozilla Firefox and IE? Have you any idea? Thanks Alot! ...

Get selected text and selected nodes on a page?

When selecting a block of text (possibly spanning across many DOM nodes), is it possible to extract the selected text and nodes using Javascript? Imagine this HTML code: <h1>Hello World</h1><p>Hi <b>there!</b></p> If the user initiated a mouseDown event starting at "World..." and then a mouseUp even right after "there!", I'm hoping i...

Is there ANY way to suppress the browser's login prompt on 401 response when using XmlHttpRequest

I am using jQuert .ajax function to call a page method. The site is using FormsAuthentication. So when an authentication ticket expires a call to the page method will obviously cause a redirect to the login page. Now, the geniuses that wrote the System.Web.Handlers.ScriptModule decided that if for some reason a REST style call to a pag...

Firefox plugin to copy text with its formatting Intelligently?

When viewing a webpage, I would like to copy a selection of text with its html formatting in one piece. Meaning if some text is in bold and blue, I want the tool to create a style or class in the html which makes the text blue. Everything is contained in the produced html. I have downloaded a similar plugin but the classes definitions a...

How can I convince Firefox to redraw CSS Pseudo-elements?

I'm having issues getting Firefox to update a webpage when its class is changed dynamically. I'm using an html "table" element. When the user clicks a cell in the table header, my script toggles the class back and forth between 'sorted_asc' and 'sorted_des.' I have pseudo element which adds an arrow glyph (pointing up or down) depending...

document.write() vs inserting DOM nodes: preserve form information?

Consider two web pages with the following in their body respectively: <body> <script> document.writeln('<textarea></textarea>') </script> </body> and <body> <script> var t = document.createElement('textarea'); document.body.appendChild(t); </script> </body> (think of them as part of something larger, where the textareas have to be ...

IE7 HTTP Error 400

Why would IE 7 display HTTP Error "Bad request" 400 on the same page that Firefox loads without complaining? ...

Firefox overflow:scroll resize issue.

In Firefox...... <div id="container" style="overflow:scroll; width:400px; height:500px"> <div id="content" style="height:500px; width:800px"/> </div> The "container" DIV should have scroll bars since the div with id "content" is wider than it. If, using JavaScript (see below), I reset the size of the "content" div to "200px", I...

Background image is not displayed in Firefox

An image set as the background of a DIV is displayed in IE, but not in Firefox. CSS example: div.something { background:transparent url(../images/table_column.jpg) repeat scroll 0 0; } (The issue is described in many places but haven't seen any conclusive explanation or fix.) ...

double click function by JQuery doesn't work on radio input in FireFox

I wrote below code to remove checked item from radio group in my form by double click. $("input[type='radio']").each(function(){ $(this).dblclick(function(){ $(this).removeAttr("checked"); }); }); but this code doesn't work in FireFox but work in IE. anybody know what's the problem? tan...