我有一个选择不显示'默认'选项。它看起来像这样:html选择不显示默认选项
<select id="sortBy" name="sortBy" onchange="if(guestLightbox()) {sortPropertyBy(this.value);}">
<option class="quality_score_member hideWhenResaleMLS" value="quality_score_member-desc">Default</option>
<option class="auction_date hideWhenForeclosures hideWhenPreForeclosures hideWhenResaleMLS hideWhenFSBOOrRentalOrRTO" value="auction_date">Auction Date</option>
<option class="home_score-desc" value="home_score-desc">SmartZip HomeScore</option>
<option class="investor_score-desc" value="investor_score-desc">SmartZip InvestorScore</option>
<option class="amount" value="amount">Price (low to high)</option>
<option class="amount-desc" value="amount-desc">Price (high to low)</option>
<option class="living_area_square_feet" value="living_area_square_feet">Square Feet (low to high)</option>
<option class="living_area_square_feet-desc" value="living_area_square_feet-desc">Square Feet (high to low)</option>
<option class="scrape_date-desc" value="scrape_date-desc">Most Recent</option>
<option class="sale_type" value="sale_type">Sale Type</option>
<option class="property_record_type" value="property_record_type">Property Type</option>
</select>
有人可以解释为什么吗?
谢谢。
什么CSS类'quality_score_member hideWhenResaleMLS'包含哪些内容? – 2012-03-07 11:12:31
该类实际上不存在。 – George 2012-03-07 11:28:06
你是对的,这是因为上课,但不知道为什么。 – George 2012-03-07 11:35:19