function isValidURL(url){
    var RegExp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;
    if(RegExp.test(url)){
        return true;
    }else{
        return false;
    }
}

level168 發表在 痞客邦 留言(0) 人氣()

contentWindow屬性是指指定的frame或者iframe所在的window對象
在IE中iframe或者frame的contentWindow屬性可以省略,但在Firefox中如果要對iframe物件進行編輯,則必須指定contentWindow屬性。

level168 發表在 痞客邦 留言(0) 人氣()

<embed id='music' src='' hidden="true" loop="true" Volume="0" autostart="false"></embed>
~~~~~~~~~
var moj=document.getElementById('music'),e=''; //抓到物件
e="<table border='1'>"

level168 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。