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)
人氣()