php实现两级下拉菜单选择mysql数据库不同的表写如数据
<formname="contact"method="post"action=""><ul><divclass="sel"><li>选择要添加文章到目录<selectid...
<form name="contact" method="post" action=""><ul>
<div class="sel"><li>选择要添加文章到目录<select id="main_menu"></select><select id="next_menu"></select></li></div>
<li>文章标题<input name="name" type="text" onClick="this.value='';" onFocus="this.select()" onBlur="this.value=!this.value?'标题':this.value;" value="标题" id="name" /></li>
<li>文章作者<input name="femail" type="text" onClick="this.value='';" onFocus="this.select()" onBlur="this.value=!this.value?'作者':this.value;" value="作者" id="email" /></li>
<li><textarea name="ysubject" cols="80" rows="18" id="phone">内容</textarea></li>
<li><input name="" type="button" value="提交" class="button" />
<input type="reset" name="Submit" value="重置" /></li>
</ul></form> 展开
<div class="sel"><li>选择要添加文章到目录<select id="main_menu"></select><select id="next_menu"></select></li></div>
<li>文章标题<input name="name" type="text" onClick="this.value='';" onFocus="this.select()" onBlur="this.value=!this.value?'标题':this.value;" value="标题" id="name" /></li>
<li>文章作者<input name="femail" type="text" onClick="this.value='';" onFocus="this.select()" onBlur="this.value=!this.value?'作者':this.value;" value="作者" id="email" /></li>
<li><textarea name="ysubject" cols="80" rows="18" id="phone">内容</textarea></li>
<li><input name="" type="button" value="提交" class="button" />
<input type="reset" name="Submit" value="重置" /></li>
</ul></form> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询