![]()
![]()
 搜尋視窗內的字串 
![]()
![]()
window.find 可搜尋視窗內的字串
程式碼如下:
		<script>
			function Event1(str){
				if (window.find(str,true)){
					alert(str + " found!");
				} 
			}			
		</script>
    
    
        <input type="button" value="Press to start" onclick="Event1('opq')">
        <br><br>
        abcdefghijklmnopqrstuvwxyz