473,508 Members | 2,300 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 1105
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
9777
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...
7
5866
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...
4
1891
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 =...
3
2289
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 ....'...
0
7811
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...
5
6442
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)...
1
4237
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"/> ...
1
1952
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...
2
4533
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:...
1
6613
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...
0
7233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7342
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,...
0
7410
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...
1
7067
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...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5060
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...
0
4729
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...
0
3215
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...
0
440
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.