...

View Full Version : onstateChange event help



barnes
05-01-2007, 09:48 AM
<select name="country">
<option>india</option>
<option>usa</option>
<option>pak</option>
<option>england</option>
<option>aus</option>
<option>newzeland</option>
<option>rsa</option>
<option>srilanka</option>
<option>west indies</option>
</select>
</div>
</label>
</td>
</tr>
<tr>
<td>
<div align="right" class="style4">City/Area</div></td> <td>:</td>
<td><label> <div align="left"> <label> <select name="area" size="1" multiple="multiple" id="area"> </select>
</label>
i have a list of countries in one select box.when i selecting a perticular country,depending on country, how to change a cities/area list box automatically.suppose when i selected a usa then i want to show only usa cities.like england....etc..

venkatmallu.net
05-01-2007, 03:05 PM
its very simple... by using xml file
check the code at below link and try to understand it
http://codingforums.com/showthread.php?t=112712

If can't understand tht give a reply...
i will give a sample code which u needed



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum