3 个解决方案
#1
#2
window.open ('1.htm?aaa='+sss);
aaa为要在1.htm中取的变量
sss为本页面上的变量
aaa为要在1.htm中取的变量
sss为本页面上的变量
#3
是HTTP的header不是普通的变量,里面有下面这些东西,Referer里可以得到上个页面的URI
Accept
Accept-Charset
Accept-Language
Age
Allow
Authorization
Cache-Control
Connection
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range
Content-Type
Date
Expect
Expires
From
Host
If-Modified-Since
If-Unmodified-Since
Last-Modified
Location
Max-Forwards
Pragma
Range
Referer
Retry-After
Server
Upgrade
User-Agent
Vary
Via
WWW-Authenticate
谢谢帮顶的朋友!
Accept
Accept-Charset
Accept-Language
Age
Allow
Authorization
Cache-Control
Connection
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range
Content-Type
Date
Expect
Expires
From
Host
If-Modified-Since
If-Unmodified-Since
Last-Modified
Location
Max-Forwards
Pragma
Range
Referer
Retry-After
Server
Upgrade
User-Agent
Vary
Via
WWW-Authenticate
谢谢帮顶的朋友!
#1
#2
window.open ('1.htm?aaa='+sss);
aaa为要在1.htm中取的变量
sss为本页面上的变量
aaa为要在1.htm中取的变量
sss为本页面上的变量
#3
是HTTP的header不是普通的变量,里面有下面这些东西,Referer里可以得到上个页面的URI
Accept
Accept-Charset
Accept-Language
Age
Allow
Authorization
Cache-Control
Connection
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range
Content-Type
Date
Expect
Expires
From
Host
If-Modified-Since
If-Unmodified-Since
Last-Modified
Location
Max-Forwards
Pragma
Range
Referer
Retry-After
Server
Upgrade
User-Agent
Vary
Via
WWW-Authenticate
谢谢帮顶的朋友!
Accept
Accept-Charset
Accept-Language
Age
Allow
Authorization
Cache-Control
Connection
Content-Language
Content-Length
Content-Location
Content-MD5
Content-Range
Content-Type
Date
Expect
Expires
From
Host
If-Modified-Since
If-Unmodified-Since
Last-Modified
Location
Max-Forwards
Pragma
Range
Referer
Retry-After
Server
Upgrade
User-Agent
Vary
Via
WWW-Authenticate
谢谢帮顶的朋友!