简单js,马上结帐
dim strDoorname as string = "你好 "
strScript = " <script language=javascript> " & _
" alert( '张三: 'strDoorname); " & _
" window.returnValue = '1 '; " & _
" window.close(); " & _
" </script> "
Controls.Add(New LiteralControl(strScript))
alert( '张三: 'strDoorname) 这里出错了,该怎么改??
------解决方案--------------------alert( '张三: ' ' "&strDoorname& " '); 试下
------解决方案--------------------alert( "張三 "+ "\n "+ "你好! ");