[Javascript] i need one help pls

yoga rajan yogaraja_g at yahoo.com
Tue Sep 27 02:05:02 CDT 2005


Hello friend
 i need one help

this is my sample program



<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual
Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
<form name="frm">
<ul>
<li><input type="checkbox"
name=checkbox1>Northfrica</li>
  <ul >
    <li><input type="checkbox" >Algeria</li>
    <li><input type="checkbox" >Egypt</li>
    <li><input type="checkbox" >Libyan Arab</li>
    <li><input type="checkbox">Mauritania</li>
 </ul>
		
<li><input type="checkbox">Sub-Sahara Africa</li>
  <ul>
    <li><input type="checkbox" >Angola</li>
    <li><input type="checkbox" >Benin</li>
    <li><input type="checkbox" >Botswana</li>
    <li><input type="checkbox" >Burkina Faso</li>
    <li><input type="checkbox" >Burundi</li>
 </ul>
		
<li><input type="checkbox">Near East</li>
 <ul>
    <li><input type="checkbox" >Afghanistan</li>
    <li><input type="checkbox" >Bahrain</li>
    <li><input type="checkbox">Cyprus</li>
    <li><input type="checkbox">Djibouti</li>
    <li><input type="checkbox" >Iran</li>
    <li><input type="checkbox">Iraq</li>
 </ul>	
</ul>
</form>
</BODY>
</HTML>

main list is continent 
and sub list is country


my question:

1. if i select any continent inner countries should be
checked
if i uncheck the continent ,inner countries should be
unchecked

now i am not giving checkbox name



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the Javascript mailing list