amplthmtlampgtampltheadampgtamplttitleampgtformsam


<HMTL>

<HEAD>

<TITLE>FORMS</TITLE>

<!-- This code checks the Checkbox when the button is clicked //-->

<SCRIPT Language='JavaScript'>

function Chk(f1)

{

f1.Check.checked=true;

alert(" The Checkbox just got checked ");

 f1.Check.checked=false; f1.Radio[0].checked=true; f1.Radio[1].checked=false;

alert(" The Radio button got checked ");

}

</SCRIPT>        </HEAD>

stated explicitly.

<BODY>

<FORM>

Client Name : <Input Type=Text Name="Text" Value=""><BR><BR>                                                        

Client Address: <Input Type=Text Name="Text1" Value=""> <BR><BR> Client E-mail Address :<Input Type=Text Name="Text2"

Value=""><BR><BR>

<Input Type="radio" Name="Radio" Value=""> Male

<Input Type="radio" Name="Radio" Value=""> Female<BR><BR>

<Input Type="CheckBox" Name="Check" Value=""> Employed <BR><BR>

<Input Type="Button" Name="Bt" Value="Set Element Array Value" onClick="Chk(this.form)">

</FORM>

</BODY>

</HTML>

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: amplthmtlampgtampltheadampgtamplttitleampgtformsam
Reference No:- TGS0266983

Expected delivery within 24 Hours