$("#province").removeAttr("disabled");
或者让disabled失效
$("#province").attr("disabled",false);
$("#country").change(function(){
alert();
});
<select id="country">
<option selected="selected" disabled="disabled">请选择国家</option>
</select>
<option></option>
</body>
</html>
<script>
$("#country").click(function(){
$.post("liandong.php",{'p':0},function(data){
var o=data;
$country=$db->getall("select Name_cn from t_country where ParentId=0");
//var_dump($country);
echo json_encode($country);
count($country)
<html:form action="/users.do" method="post">
name:<html:text property="name"></html:text>
</html:for
再理解struts的web.xml文件调用了struts-config.xml文件
因此form表单提交路径不需要在web.xml文件中配置。