In jQuery mobile, the radio buttons get a rounded corner style applied to them.jQuery Mobile的單選按鈕 - 邊界半徑的持久性
然而,當我使用下面的代碼在我的移動網站(http://m.fineandcountry.propertylogic.net/):
<fieldset data-role="controlgroup" data-type="horizontal">
<input type='radio' name='p_department' id='p_departmentL' value='RS' checked='checked' onclick='setBuying();'>
<label for='p_departmentL'>Buying</label>
<input type='radio' name='p_department' id='p_departmentR' value='RL' onclick='setRenting();'>
<label for='p_departmentR'>Renting</label>
</fieldset>
我變得非常不一致的結果 - 如果我參觀iPad/iPhone的(也Chrome瀏覽器的PC),邊角都是圓潤:
Rounded Corners http://i.imm.io/epLF.jpeg
但是如果我然後點擊「搜索」,然後單擊標誌上方返回主頁,我得到以下(在PC以及Firefox的默認行爲):
有一個無賴一塊JS導致我的網站做到這一點?這一直在困擾我一段時間,我能找到的所有問題都與jQuery Mobile的問題沒有達成一致。
完美,刪除那些工作!反正我在網頁上並不需要它們,所以我認爲這是與noConflict無關的事情......感謝一堆! – rickyduck 2012-01-11 13:27:37