几个简单问题
请看如下代码:
...
<Input type=hidden name="thisName" value="MyName">
<%
dim bookAuthor
bookAuthor="bookAuthor"
response.write "<script language=javascript runat=client>"
response.write "var theName;"
response.write "theName='unknown';"
response.write "window.confirm(theName);"
%>
我的问题是:
1. 我希望theName变量取得隐含域'thisName'的值,应该如何做呢?
2. 我希望theName变量取得asp中的变量 bookAuthor 的值,应该如何做呢?
3. 如果让window.confirm(theName);出现的确定对话框,其提示文字分行显示,例如让 a=12343 和 b=3783 分别在两行出现,而不是都集中在一行里,该如何做呢?
多谢了!