Trigger the event:
$("input[name='lom']").change(function(){
// Do something interesting here
});
Radio Button:
To get the selected value:
var v=$('input[name=Sex]:checked').val();
if( typeof(v) == 'undefined'){
//there's no button selected
}
To select radio button from value:
$("input[name=Sex][value='2']").attr('checked',true);
To select radio button from index:
$('input[name=Sex]')[1].checked = true;
Checkbox:
To see whether checkbox is checked:
$('#chk').is(':checked');
To set checkbox:
$("#chk1").attr("checked",'');
$("#chk2").attr("checked",true);
Selecter:
To get the selected value:
$('#selectList').val();
$('#selectList :selected').text();
To add a new option:
$('#selectList').addOption(value,text);
現象: iCloud 無法運行或發生錯誤 原因: 新版的 iCloud 只能在 Windows 7 或 8 運行 修改步驟: 1. 安裝 7-zip ,如果你還沒有安裝 2. 安裝 Orca , 這是 Microsoft 提供的 MSI 編輯器 3. 下載 iCloud control panel installer ,如果你還沒有下載 4. 用 7-zip 解壓縮 iCloudSetup.exe 5. 開啟 Orca,開啟 iCloud64.msi,假設你系統是64bit 6. 找到 LaunchCondition table 7. 將 LaunchCondition table 刪除 8. 存檔,關閉 Orca 9. iCloud64.msi 按右鍵,點安裝
留言
張貼留言