提供各行各業搜尋、查價比價服務
讓你輕鬆找到各式各行各業價格
搜尋引擎系統家具櫥櫃設計製作專家,舉凡客廳
書房、臥室等皆可適用,歡迎洽詢

首頁  •  j2h 論壇 • 程式設計討論     • 

[JQuery] JQuery 基本語法

房東:小蛙
發表時間:2019-03-22


設定時間
setTimeout(function(){ $('#j2hshow2').html(j2hmessage3); }, 5000);




// 自動張貼 設定延長
setTimeout(function(){ $contents.find('input[name="button"]').click(); }, 5000);



設定時間開新視窗
setTimeout(function(){ var popwindows2 = window.open("6.php?j2hurl=&tab="); }, 5000);




// 手動張貼
$('#btn1').click(function(){
////如果是要點 a href 要用這一行
$contents.find('#checkButton')[0].click();
});









/////溝選同意
$contents.find('input[name="whois"]').attr("checked",true);





/////溝選selected
$contents.find('option[value="2512"]').attr('selected','selected');
$contents.find('option[value="2000"]').attr('selected','true');

$contents.find('.phpmoon option').removeAttr('selected').filter('[value=1500]').attr('selected', true);


////把option選項所有值改成 2000
$contents.find('.phpmoon option').val(2000).change();

/////竄改表單text
$contents.find('.style8 option').text('加拿大').change();



  • 贊助網站       

    廣利不動產-新板特區指名度最高、值得您信賴的好房仲
    您的托付,廣利用心為您服務
    廣利不動產-板橋在地生根最實在--新板特區指名度最高、值得您信賴的好房仲
    完整房訊,房屋、店面熱門精選物件,廣利不動產 優質仲介,房屋租賃、買賣資訊透明,交易真安心!



  •  共 1 人回應  選擇頁數 【第1 頁】 

    姓名:
    佈告內容:
    其他選項: