I have radiobuttonlist in which there is 3 items.
I have checkboxlist in which there is 5 items.
I have a button.
I want to unselect all the selected check boxes in the list when the button is clicked.
And I want to unselect the selected radiobutton in the radiobuttonlist.
How can I do this in JS
Pls help..
subhankar02dey
0
Light Poster
Recommended Answers
Jump to PostYour HTML button would look like this:
<input type="button" value='Uncheck' onClick="uncheck()" />
At the top of your HTML in the head section place the following code:
<SCRIPT LANGUAGE="JavaScript"> function uncheck() { document.myform.box1.checked = false; document.myform.box2.checked = false; document.myform.box3.checked = false; document.myform.box4.checked = false; } …
Jump to Post..hank..,
Is that an ASP.net question? If so then you might do better here:
All 7 Replies
svilla
17
Junior Poster in Training
subhankar02dey
0
Light Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
subhankar02dey
0
Light Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
fatihpiristine
Airshow
416
WiFi Lounge Lizard
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.