Skip to main content

Bug Tracker

Side navigation

Ticket #3057: safari_hide.html
File safari_hide.html, 5.4 KB (added by sethtrain, June 17, 2008 10:12PM UTC)

Example of issue. Currently doesn't work with Safari Version 3.1.1 (5525.20)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Safari Bug</title>
	
	<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("select#id_areas option:not(:selected)").hide();
        });
    </script>
</head>

<body>
    <p>
        <label for="id_areas">Areas</label>
        <select multiple="multiple" name="areas" id="id_areas">
            <option value="">-- ALL --</option>
            <option value="1">01 - Davidson County (Murfreesboro Rd to I-65)</option>
            <option value="2">02 - Davidson County (I-65 to Charlotte Pike)</option>
            <option value="3">03 - Davidson County (Charlotte Pike to Cumberland Rive)</option>
            <option value="4">04 - Davidson County (Cumberland River W to Clarksville)</option>
            <option value="5">05 - Davidson County (Clarksville Pike to Dickerson Pik)</option>
            <option value="6">06 - Davidson County (Dickerson Pike to Cumberland Rive)</option>
            <option value="7">07 - Davidson County (Cumberland River E to Interstate)</option>
            <option value="8">08 - Davidson County (Interstate 40 E to Murfreesboro R)</option>
            <option value="9">09 - Sumner County</option>
            <option value="10" selected="selected">10 - Williamson County</option>
            <option value="11">11 - Wilson County</option>
            <option value="13">13 - Cheatham County</option>
            <option value="14">14 - Robertson County</option>
            <option value="15">15 - Dickson County</option>
            <option value="16">16 - Maury County</option>
            <option value="17">17 - Out of all areas available</option>
            <option value="18">18 - Marshall County</option>
            <option value="19">19 - Stewart County</option>
            <option value="21">21 - North Murfreesboro</option>
            <option value="22">22 - Downtown/East Murfreesboro</option>
            <option value="23">23 - South Murfreesboro</option>
            <option value="24">24 - West Murfreesboro</option>
            <option value="25">25 - North Rutherford County</option>
            <option value="26">26 - East Rutherford County</option>
            <option value="27">27 - South Rutherford County</option>
            <option value="28">28 - West Rutherford County</option>
            <option value="29">29 - East Smyrna</option>
            <option value="30">30 - West Smyrna</option>
            <option value="31">31 - East Lavergne</option>
            <option value="32">32 - West Lavergne</option>
            <option value="41">41 - Franklin</option>
            <option value="42">42 - Grundy</option>
            <option value="43">43 - Marion</option>
            <option value="44">44 - Perry</option>
            <option value="45">45 - Sequatchie</option>
            <option value="46">46 - Wayne</option>
            <option value="47">47 - Putnam County</option>
            <option value="48">48 - Jackson County</option>
            <option value="49">49 - Overton County</option>
            <option value="50">50 - Clay County</option>
            <option value="51">51 - Pickett County</option>
            <option value="52">52 - White County</option>
            <option value="53">53 - Fentress County</option>
            <option value="54">54 - Van Buren County</option>
            <option value="71">71 - Montgomery County (Downtown, S. Hills, Hillwood)</option>
            <option value="72">72 - Montgomery County(Cumberland Hts. Palmyra, Shi)</option>
            <option value="73">73 - Montgomery County(Dotsonville, Oakwood, Wood)</option>
            <option value="74">74 - Montgomery County (Dover Rd to Dotsonville Rd)</option>
            <option value="75">75 - Montgomery County (41a North of Ringgold Creek)</option>
            <option value="76">76 - Montgomery County (St. Bethlehem, Dunbar Cave)</option>
            <option value="77">77 - Montgomery County (Eastern Hills, Memorial Dr, Hw)</option>
            <option value="80">80 - Houston County</option>
            <option value="81">81 - Humphreys County</option>
            <option value="82">82 - Hickman County</option>
            <option value="83">83 - Lewis County</option>
            <option value="84">84 - Lawrence County</option>
            <option value="85">85 - Giles County</option>
            <option value="86">86 - Lincoln County</option>
            <option value="87">87 - Moore County</option>
            <option value="88">88 - Bedford County</option>
            <option value="89">89 - Coffee County</option>
            <option value="90">90 - Cannon County</option>
            <option value="91">91 - Warren County</option>
            <option value="92">92 - Dekalb County</option>
            <option value="93">93 - Smith County</option>
            <option value="94">94 - Trousdale County</option>
            <option value="95">95 - Macon County</option>
            <option value="96">96 - Christian County, Ky</option>
            <option value="97">97 - Todd County, Ky</option>
            <option value="98">98 - North Alabama</option>
        </select>
    </p>
</body>
</html>

Download in other formats:

Original Format