473,586 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error Only In firefox

1 New Member
Hi
When I run this code in FireFox see This error but in IE work property!
Warning: Expected color but found 'FFBA00'. Error in parsing value for property 'background'. Declaration dropped.

Expand|Select|Wrap|Line Numbers
  1. for (x in passed_array)
  2. {
  3. document.getElementById("c"+passed_array[x]).checked=true;
  4. document.getElementById("c"+passed_array[x]).disabled=true;
  5. document.getElementById("r"+passed_array[x]).style.background='FFBA00';
  6. document.getElementById("r"+passed_array[x]).style.color='1200FF';
  7.  
  8. }
Jul 9 '08 #1
1 1108
mrhoo
428 Contributor
'FFBA00' should be '#FFBA00', '1200FF' should be '#1200FF'
Jul 9 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
9790
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton in a link. that function can have parameters for URL and window name passed to it. This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two...
7
5879
by: debugger | last post by:
hello, Question, on page load, I populate an existing drop down with createElement and appendChild. It works fine so far. BUT I want to automatically select some option from this populated drop down. So i have this statement: document.getElementById("dropdown").options.selected=true; And it gives me an error.
4
1902
by: gattaca8 | last post by:
The following script works fine in IE...but gives me a "sBox has no properties" error in Firefox. sBox is only used in the below method. function addTop (sectId) { sBox = document.getElementById("addo_" + sectId); topo = sBox.options.value; if (topo != '0'){ drawTop(sectId, topo); } else {
3
2297
by: Brian A | last post by:
I have written some Javascript that works perfectly in Firefox - no errors reported. The dreaded MSIE 6 produces nothing but a long line of 'undefinedundefinedundefinedundefinedundefined ....' Each 'undefined' represents a text node or element I have interted into the DOM. As far as I can see I have declared all variables and asigned values...
0
7818
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for some pages, I suspect that's due to issues with IE6. I'm hoping to use the app on the company network, and most of our computers have to stay at IE6...
5
6446
by: Geoff Cox | last post by:
hello, I am writing Javascript using Homesite but if I try to use Firefox v2 as the browser I get the error message "Firefox doesn't know how to open the address, because the protocol (c) isn't associated with any program" Any ideas on this?
1
4247
by: nancyisbell | last post by:
I used the following test01.xml file below to exercise the cnlUnit01.xslt. <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="cnlUnit01.xslt"?> <cnlUnitXsl unitDataFile="111111"/> The cnlUnit01.xslt file below should recursively concatenate the string "Level", the string " ", and the numeric value of the number (level) of...
1
1955
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a webform that contains gridview that is databound to a dataset maintained in session state. Users can enter values into textboxes and add to the grid. For each row in the grid, there is a command field called Delete...it allows them to remove the entries if necessary. I can add just fine from both IE and Firefox,...
2
4542
by: germ | last post by:
doing a simple page webmethod call an a page via PageMethods works fine in ie7 & opera9 the same call on firefox ( and I assume netscape ) generates the following error : Error: " nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::...
1
6626
by: jarret | last post by:
Hello all. First off, I am not a programmer so this question is not related to a problem that I created myself. I am not quite sure what is going on, but I do know that C++ is screwing up. Now I am not sure on what exactly triggers the error, but when I try to install some programs on my computer and use them or visit certain websites, Firefox...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.