Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Disabling/Enabling a Textbox</title>
    <script type="text/javascript" src="enableTextbox.js"></script>
  <style>
  #be,#be span {
    display:inline;
    color:#000000;
  }dsfsdfsdf
  
  </style>
</head>
<body>
  <label id="be"><input type="radio" name="sex" value="M" onclick="toggleTextbox('M')" /><span class="te">Male</span><br /></label>
    <input type="radio" name="sex" value="F" onclick="toggleTextbox('F')"/>Female<br />
    <br />
    <br />
    <label>Textbox to Enable123:</label>
  
    <br />
    <input type="text" id="txtText" />
  
  <table>
    <tr>
      <td>Entete 1</td>
      <td>Entete 2</td>
      <td>Entete 3</td>
    </tr>
    <tr>
      <td>titre 1</td>
      <td><input type="text" size="10" value="Allo"></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Titre 2<BR><BR>allo</td>
      <td><select name="aaa"><option selected value="">Select value</option></select></td>
      <td>&nbsp;</td>
    </tr>
  </table>
  
</body>
</html>
 
.te {
  color:green !important;
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers