You are here: Re: Radio Button Caching Issue « HTML « IT news, forums, messages
Re: Radio Button Caching Issue

Posted by Sym on 08/09/06 14:37

I have had this problem - i basicaly have mini form which is just part
of a page, depending on the radio pressed a different set of inputs are
displayed (hiding/showing divs). The first radio is the default, as is
the div that goes with it.

The problem is if the user presses a radio and then follows a link
elsewhere on the page, when they navigate back, the default div is
displayed, but the radio remains as it was previously selected, so you
need to click on the radio again to get the correct div displaying.

The way round this i suppose would be a script on the body onload event
doing something like this.form.radioname[0].checked = true; however at
that moment in time the form does not exist so you can not script the
radio. I presume the way round this would be some loop or timer in this
function ..... any other ideas ?

rgds
Symeon.

 

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

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