Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Radio Buttons and JavaScript

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Radio Buttons and JavaScript
 Login/Join
 
Gold member
posted
Good Morning:
A JavaScrip question for anyone. I have two different sets of radio buttons, each having two radio buttons associated to them. If the second value of the 1st set of radio buttn is selected I would like both values on the 2nd set of radio button to become disabled. Anyone have any suggestions. Thanks
 
Posts: 69 | Location: OH | Registered: November 09, 2004Report This Post
<Grzegorz>
posted
An example:
<html><br /><head><br />	<title>Radio Buttons</title><br /><script type="text/javascript"><br />function disableButtons(mode) {<br />  var buttons = document.radioForm.set02;<br />  for (var i=0; i < buttons.length; i++) {<br />    buttons[i].disabled = mode;<br />  }<br />}<br /></script>	<br /></head><br /><br /><body><br /><form name="radioForm"><br /><table><br /><tr> <td align="right">First Radio Set:</td><br /><td>Button1<input type="radio" name="set01"<br />                  onclick="disableButtons(false)"/></td><br /><td>Button2<input type="radio" name="set01" <br />                  onclick="disableButtons(true)"/></td><br /></tr><br /><tr> <td align="right">Second Radio Set:</td><br /><td>Button1<input type="radio" name="set02"/></td><br /><td>Button2<input type="radio" name="set02"/></td><br /></tr><br /></table><br /></form><br /></body><br /></html>
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Radio Buttons and JavaScript

Copyright © 1996-2020 Information Builders