主题:怎样获取javascript变量的值
明月天山
[专家分:0] 发布于 2006-04-08 20:30:00
我在javascript中嵌套jsp,需要jsp获取javascript的变量值,哪位高手晓得?
多谢指教。
回复列表 (共1个回复)
沙发
justforfun626 [专家分:18460] 发布于 2006-04-10 10:33:00
1) Use a cookie, but if user disabled the cookie, then you're :(
2) post to the server, jsp is on the server, jsp can get it.
3) Use a hidden frame, put the value there, your other page or jsp can get the value from the hidden parent.
4) Use your imagination and search to find more....
Good luck!
我来回复