473,795 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Radio Button uncheck

Hallo

ich habe eine WebForm und habe da eine Gruppe mit Radiobuttons die beim
laden der seite den status unchecked haben. Wenn ich jetzt aber auf
einen der RadioButtons klicke, dann habe ich immer mind. einer
aktiviert.

Wie kann ich es machen, dass ich, wenn ich nochmals auf den RadioButton
klicke, der gerade checked ist, dieser wieder unckecked gesetzt wird???

gruss

christoph

Dec 28 '05 #1
0 3234

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
16288
by: Ken Loomis | last post by:
Hello: On a web page I check the value of a cookie and set one of two radio buttons accordingly. function setRadioForm() { var myCookie = document.cookie; var OpenOnly = myCookie.substring(9); if (OpenOnly == "True") { document.ViewOptions.Open.checked = true;
2
2012
by: jimi_xyz | last post by:
I am creating a search engine and here is what i have so far.. <form class="complex-form" name="searchForm" method="post" action="Directory.asp"> <TABLE border="1" cellspacing="2" summary="Search Form"> <TR> <TD rowspan="3"><FONT size ="+3" COLOR=blue face=arial><b>JIFFY</B></FONT> <FONT size="+2" color="#CCCCCC" face=arial><B>Search</B></FONT></TD>
4
2844
by: TS | last post by:
My objective: To create a survey that asks people to rate a list of things in order of importance. I wish to prevent them from just rating every item in the list the same value. For example the Page would look roughly like this: Please rate the following in order of importance: Item Rating Apples 1 2 3 Orange 1 2 3
4
19462
by: Ed Jay | last post by:
I use window.document.form1.myCheckbox.checked=false; to uncheck (reset) several checkboxes. What is an equivalent for resetting a set of interrelated radio boxes? -- Ed Jay (remove M to respond by email)
3
3636
by: amatuer | last post by:
I have a radio button that i checked depending on a staement. The problem is that if i want to uncheck it ,it doesnt allow. Is it possible to uncheck it. heres the code i used for the radio button: <input type="radio" name="MediaName" value="Others" <% If tel1=tel2 Then %Checked<% End If %>>
0
1413
by: Shadow Lynx | last post by:
In standard HTML, the <INPUT type="radio" name="x" /control only allows one radio button to be checked at a time. When more than one are set as checked="true" then only the last one rendered appears as checked. I would assume that asp:RadioButton objects that share the same GroupName would not allow more than one Radio Button to be checked (similar to the Radio Button List) but it seems to not be the case. If I set one Radio Button's...
2
1341
by: Ian :\) | last post by:
Hi Just learning JavaScript and I'm trying to reference radio buttons generated by php, the relevant lines are: <td width="9%" align="center" class="bg-tb-td"><input name="editArticle" type="radio" value=" <?php echo $row_rsArticles; ?>" onclick = "document.form1.deleteArticle.checked='false')"/></td> <td width="9%" align="center" class="bg-tb-td"><input
0
2760
by: ballamber | last post by:
This is a solution to the problem. Works with .NET 2.0. So the problem is displaying a data bound read-only checkbox or radio button in a GridView without actually disabling those controls. I assume you know what templates are in a GridView. Examples are in VB.NET. Sorry... So as a first step create a function in the page's underlying class that returns the string "checked" based on the bound data. Here's what I did. The underlying data...
3
2757
by: Steve Swift | last post by:
I have a page containing: <FORM NAME=radios> <INPUT TYPE=RADIO NAME=RAD VALUE=1 ID=RAD1> <LABEL FOR=RAD1>Check One</LABEL> <A onClick="document.radios.RAD.checked=false; return false">Uncheck One</A><BR> <INPUT TYPE=RADIO NAME=RAD VALUE=2 ID=RAD2> <LABEL FOR=RAD2>Check Two</LABEL><BR> <DIV STYLE="display:none"><INPUT TYPE=RADIO NAME=RAD ID=RAD3></DIV>
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10448
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7544
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6784
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.