php+jquery+MySQL 怎么实现二级联动
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/l...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>区域</title>
</head>
<body>
<div>
<dl>
<dd>
<ul>
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td align="right" valign="middle">摄影门店:</td>
<td colspan="3" valign="middle">
<select name="province" >
<option value="">选择省份</option>
</select>
<select name="city" >
<option value="">选择城市</option>
</select>
<select name="area" >
<option value="">选择地区</option>
</select>
</td>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<th width="44%">名称</th>
<th width="23%">XXXXX</th>
<th width="21%">****</th>
<th width="12%">地区</th>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
……
</ul>
</dd>
</dl>
</div>
</body>
</html>
地区和列表都要从数据库查出来????
如何实现在选择下拉框时,触发事件。显示相关下一级 地区,并且列表也要显示出该地区的相关内容????
地区表area、内容表test
如何实现??? 展开
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>区域</title>
</head>
<body>
<div>
<dl>
<dd>
<ul>
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td align="right" valign="middle">摄影门店:</td>
<td colspan="3" valign="middle">
<select name="province" >
<option value="">选择省份</option>
</select>
<select name="city" >
<option value="">选择城市</option>
</select>
<select name="area" >
<option value="">选择地区</option>
</select>
</td>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<th width="44%">名称</th>
<th width="23%">XXXXX</th>
<th width="21%">****</th>
<th width="12%">地区</th>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
<tr>
<td>鹿城金色</td>
<td align="center">XXXXXX</td>
<td align="center">*****</td>
<td align="center">杭州</td>
</tr>
……
</ul>
</dd>
</dl>
</div>
</body>
</html>
地区和列表都要从数据库查出来????
如何实现在选择下拉框时,触发事件。显示相关下一级 地区,并且列表也要显示出该地区的相关内容????
地区表area、内容表test
如何实现??? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询