By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Error Only In firefox

P: 1
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
Share this Question
Share on Google+
1 Reply


100+
P: 428
'FFBA00' should be '#FFBA00', '1200FF' should be '#1200FF'
Jul 9 '08 #2

Post your reply

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