0

私のaspxコードからの次のhtml出力を考えると、タグのクリックをキャプチャできないようです。

考えられるあらゆるバリエーションを試しました。最新のものを以下に示しますが、何か提案はありますか?

<fieldset class="injectsysdisplay">
    <legend>Chemical Injection Systems Information</legend>
        <div class="literaltext">
            <p> We utilize two types of systems for mixing EnerBurn&reg; with your fuel supply to deliver it to your diesel engine,<br /> On-Board systems and Bulk Fueling systems. Click on an item below for more information.</p>
            <ul class="ulGreen">
                <li><b>On-Board systems</b><span style="color:black;"> (See an installation picture<a href="#" data-rel="onBoardVehiclepicdisplay">here</a>)</span> </li>
                <li><b>Bulk Fueling systems</b><span style="color:black;"> (See an installation picture<a href="#" data-rel="onBoardVesselpicdisplay">here</a>)</span> </li>
                <li><b>Terminal Fueling systems</b><span style="color:black;"> (See an installation picture<a href="#" data-rel="onBoardFuelBargepicdisplay">here</a>)</span> </li>
            </ul>
        </div>
    </fieldset>

Jクエリ:

 $(document).ready(function() {
        //$('.ulGreen').delegate('li span a', 'click', function(e){
        $('.literaltext ul li span a').click(function (){
            alert("Show me you work!");

        });​
    });​
4

0 に答える 0