User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,476 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,873 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

javascript: radio buttons

Join Date: May 2005
Location: Wellington, New Zealand
Posts: 182
Reputation: alpha_foobar is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 3
alpha_foobar's Avatar
alpha_foobar alpha_foobar is offline Offline
Junior Poster

Re: javascript: radio buttons

  #2  
May 12th, 2005
I suspect you'll need to set a flag indicating whether a user has already checked a radio button...

Then attach an event to each radio, so when the user selects it it checks the flag.... if its true, then alert: "You have selected the value"

else: prompt: "Whether he wish to change the value"

I sugest a less gender specific prompt... your love life will improve... unless you are a girl.. in which case it would make little difference...

please don't flame me.. i've been on drugs for a minor operation today...
Reply With Quote  
All times are GMT -4. The time now is 4:36 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC