ajax工作遇到問題

2021-07-29 21:58:49 字數 355 閱讀 8828

當乙個頁面向另乙個頁面傳乙個值,而且是中文,

第一種:首先在當前頁面在url中傳值使用encodeuricomponent方法,第二步,在第二個頁面使用       pagearg.temp_arg

例如:url拼接     www.baidu.com?name=encodeuricomponent("小明")&password=123456

第二個頁面獲取  pagearg.name   就能獲取中文了

第二種,定義獲取url中值的方法

function getquerystring(name)

呼叫方法

var password= getquerystring("password");

linux工作常用 遇到問題

查詢埠 firewall cmd permanent query port 20885 tcp 新增埠 firewall cmd permanent add port 8101 tcp 刪除埠 firewall cmd permanent remove port 38085 tcp 過載 firew...

遇到問題後。。。

今天被徹底的打擊了,很想從辦公樓直接跳下去。二周了,二周的時間都花在了載入乙個新的controller driver,在專案裡,這個是最底層的usb驅動,所以它沒有工作,等於晶元就是一堆廢鐵。在上一周還不是很著急,但是這周徹底急了,team leader已經忍受不了整組人對這那個不能工作的 束手無策...

hive on tez遇到問題

一 環境hive0.13,tez0.5.0 二 執行異常如下 return code 101 from org.apache.hadoop.hive.ql.exec.tez.teztask.org.apache.tez.mapreduce.hadoop.mrhelpers.getbasemrconf...