示例位于http://jsfiddle.net/4RAPH/或见下文:
<select class="businessTypePullDown">
<option value="" disabled selected>Business Type</option>
<option value="1">General</option>
<option value="2">Lawyer</option>
<option value="3">Software Development</option>
<option value="4">Auto-repair</option>
</select>
function filterPullDown () {
alert('hello');
}
$("businessTypePullDown").change(filterPullDown);
答案 0 :(得分:7)