3wt.ezer.com 9/7/2010 12:40:19 PM 3wt.ezer.com:JAVA:window.location href:學習 asp sql html code 繁體中文 w3 Learning

domain .tw idv.tw .com.tw
你正在閱覽 :: 繁體中文:: 學習 ASP SQL VB HTML code

學習 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在閱覽 :: 繁體中文 Chinese_Traditional

學習.主題:
首頁
ASP
CSS
Ecommerce
HTML
InternetProtocol
JAVA
. JavaScript
. location.href
. Marquee
. onclick
. Time
. View_Source
. window.location
»href
Microsoft
php
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....學習.教學 > JAVA > window.location » href

3w learning

window.location >
href

Title:

window.location.href


Description:

onClick= 'window.location = "view-source:" + window.location.href'


JAVA 讀取網頁html碼
Example Code:

<script language="javascript"> <!-- Begin {} // End --> </script> <form> <input type="button" value="View Source" onClick= 'window.location = "view-source:" + window.location.href' > </form> ---------------------------------------------------------- simple form use java read hemlcode <form name="htmlcode"> <input type="button" value="View Source" onClick= 'window.location = "view-source:" + this.form.T1.value ' > <input type="text" name="T1" size="60" value="http://"> </form> ----------------------------------------------------- <form> <input type="button" value="View html source" onClick= 'window.location = "view-source:" +"http://-----.com"' > </form>


輸入href後就可讀取由瀏覽器確定跑過結果的code: htmlencode

好處:確實由jave跑過
且使用瀏覽者的IP與資源讀取
Example Result:


Tips: use browser to run java save server resource


..
...
...

[ 9/7/2010 ]

www learning school add more scripts and tips memo
You are at >>3WT.EZER.COM >> 3WT.EZER.COM/JAVA/WINDOW.LOCATION/HREF.ASP>>JAVA
Helpful link:: SEO web tools :: Live PR | SERP checker Google SERP pageranking checker
back to top Ezer code adding :: Questions ;email