1
即時通訊使用的星級插件的jQuery Mobile的評價我的文檔我的代碼是這樣的如何不同的事件使用jQuery
<li>
<a href="#" class="page3-links">
<img src="images/pdf.png">
<h2>Books1</h2>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
<input name="star1" type="radio" class="star"/>
</a>
</li>
我的問題是我想要點擊輸入綁定到一個元素錨定標記但每當我點擊輸入,如果我把輸入了錨的jQuery移動格式的變化,它看起來很醜陋我應該怎麼辦
我嘗試這樣
$('document').ready(function()
{
$('.page3-links').click(function(){alert("hasdasi");});
$('.page3-links input').unbind('click');
});
被觸發我的錨標記事件
感謝您的寶貴時間
這不會阻止'click'從''pagepage-link'元素?假設在內部絕對沒有分配給容器的空白空間? –
感謝這爲我工作 – spiderman