演
示
源
代
碼
查看某網址源代碼
註釋:放在<body>與</body>之間
<table width="95%" border="0" cellspacing="0" cellpadding="0"> <tr align="center"> <td height="41"> <script> function add() { var ress=document.forms[0].java.value window.location="view-source:"+ress; } </script> <form> <input type="text" name="java" size=50 value="http://"> <br> <br> <input type="button" value="查看源代碼" onClick=add() name="button"> <input type="reset" size="10" value="重填" onClick="clear(this.form)" name="reset"> </form> </td> </tr> </table>
當前位置:
首 頁
→JavaScript
→
實用JST
→查看某網址源代碼
··萬旭網站工作室 設計發佈··