You are here: Re: How to set the color of a checkbox « HTML « IT news, forums, messages
Re: How to set the color of a checkbox

Posted by Stefan Mueller on 10/16/28 11:40

> http://nrkn.com/customCheck/

I have a problem with your solution.
If you modify the line
<body onload="document.getElementById( 'check' ).style.display = 'none';">
of your code with
<body onload="document.getElementById( 'check' ).style.display =
'inline';">
then you'll see also the real checkbox.

If you click now on the colored checkbox (image) the real checkbox gets also
checked. But if you press now F5 (browser refresh) the real checkbox remains
checked whereas the colored checkbox gets cleared. Therefore I have an
inconsistency between the real and the colored checkbox.
If you press Shift + F5 then it works.

Does someone know how to fix this problem?
Stefan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация