我用这个选择
<div class="formRight">
<?php
$query = mysql_query("SELECT * FROM adm ORDER by name");
if(mysql_error())
{
print(mysql_error());
}
echo'<select id="name" name="name" data-placeholder="Select" class="select" style="width:350px;" tabindex="2">';
echo'<option selected>[Select]</option>';
{
while($row = mysql_fetch_array($query))
echo'<option value="'.$row['name_id'].'">'.$row['name_a'].'</option>';
}
echo'</select>';
?>
</div>
我已经成功安装了一个 JQUERY Validate Plugin,除了 Select 之外一切正常。有机会申请吗?
我用class="validate[required]