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 430,771 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 3,554 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: Apr 2005
Posts: 4
Reputation: ss_asp is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ss_asp ss_asp is offline Offline
Newbie Poster

javascript: radio buttons

  #1  
May 8th, 2005
hi there,
can anyone help me out

my problem is this:

I have a form, with radio buttons (the number of buttons is not fixed, it will keep increasing)

for eg, if there are 2 radio buttons and no button is checked then
if user checks a radio button, then i should display a message saying that
"You have selected the value"

but if already one radio button is selected and he is selecting the other button, I should display the confirmation message asking him "Whether he wish to change the value"
I am not able to display different alert messages for radio buttons checked or unchecked
(the code for changing etc are done in asp)

I am a novice to javascript..
Can u pls help me out on this


Thanks in advance
Regards
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 5:09 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC