回 帖 发 新 帖 刷新版面

主题:怎样获取javascript变量的值

我在javascript中嵌套jsp,需要jsp获取javascript的变量值,哪位高手晓得?
多谢指教。

回复列表 (共1个回复)

沙发

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!

我来回复

您尚未登录,请登录后再回复。点此登录或注册