New Message on dotNET User Group Hyd

Checkbox problem - Reply ASAP

Reply
  Reply to Sender   Recommend Message 2 in Discussion
From: Ajaykagr77

Hi,
              i am giving u one suggestion that may be help u solve the problem
remove Enabled="False" From chk2 and add one function on body onload
example
 
<body  >
  <form id="SampleForm" method="post" runat="server" >
   <table width="100%">
    <tr>
     <td width="75%" style="HEIGHT: 19px">
      <asp:CheckBox ID="chk1"  Text="" AutoPostBack="false" title="Will You need a translator for your engagement (charges may apply)"
       Runat="server" tabIndex="10" Enabled="true"></asp:CheckBox>
     </td>
     <td width="75%">
      <asp:CheckBox ID="chk2" Runat="server" tabIndex="10" ></asp:CheckBox>
     </td>
    </tr>
   </table>
  </form>
 </body>
 
 
_javascript_ functions
function TRChecked()
{
if(document.SampleForm.chk1.checked == true)
{
   document.SampleForm.chk2.disabled =false;
} else
{
 document.SampleForm.chk2.disabled =true;
}
}
 
function TranslationRequiredChecked()
{
if(document.SampleForm.chk1.checked == true)
{
document.SampleForm.chk2.disabled =false;
} else
{
document.SampleForm.chk2.disabled =true;
}
}
 
 
Regards
@jaykagr

View other groups in this category.


Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to