Reply to Re: Radio Button Caching Issue

Your name:

Reply:


Posted by harvey on 08/08/06 13:54

Unfortunately in this scenario, the client is rendering the screen
independant of what the server is telling it to display,

e.g. I have an aspx page telling Firefox that a radio button is
selected and Firefox changes the item, leaving any text on the page out
of synch with the selection.

I hope this makes sense.

Thanks.


Harlan Messinger wrote:
> onlystuff@gmail.com wrote:
> > Hi
> >
> > Using the following code
> >
> > <form id="form1" name="form1" method="post" action="">
> > <input name="radiobutton" type="radio" value="radiobutton"
> > id="radiobutton" />
> > <label for="radiobutton">Radio Button One</label>
> >
> > <input name="radiobutton" type="radio" value="radiobutton"
> > id="radio" />
> > <label for="radio">Radio Button Two</label>
> >
> > </form>
> >
> > if I preview the page in Firefox, make a selection then hit refresh,
> > Firefox remembers my choice. I want it start over as if the form is
> > empty and its the first time you hit the page.
> >
> > How can I prevent this with out using Javascript. IE is fine and
> > likewise for Opera.
> >
> > Is IE doing the correct thing or is this a bug and Firefox is actually
> > doing the right thing by remembering?
>
> I believe the behavior is undefined, which means browsers can handle it
> any way their designers find appropriate. But why should you
> second-guess your users' expectations over what will happen? Assuming
> they even thought about it, some would probably expect one behavior on
> refresh and the others would expect the other. The real question is why
> a user would be refreshing the page at all after having started filling
> out the form, or why he would have an expectation either way if he did
> refresh it.
>
> If your goal is to provide users with a way to clear their entries and
> start over, relying on them to guess that refreshing the page might work
> isn't the way to go about it anyway. That's what the Reset button is for:
>
> <input type="reset" name="reset" value="Reset">

[Back to original 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

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