From: Jeremy Woertink Date: 2007-10-17T03:25:35+09:00 Subject: Re: Watir: How could i click this radio button? Maung Aung wrote: > I have tried several different ways, but didn't succeed. I have a radio > button which is written in onfocus javascript. If click on it, there > should another radio button should show up. This is what html source > code looks like: > > * value="1"> Yes >      value="0"> No* > > The attached picture is what it looks like after one of the button is > chosen. Could someone help? > > Thanks > maung Well, this belongs with the rails questions than a ruby one, but i'll try my best. You could either do an AJAX call to update the page, or just use css to hide the radio button and then onclick use css to show it. Look at a few different javascrip libraries, MooTools is a good one and so is jQuery. Here is a link I found with a google search. http://www.practicalwebmaster.com/entries/hiding-and-showing-with-javascript.html ~Jeremy -- Posted via http://www.ruby-forum.com/.