是要赋值了,就一定能获取得到它的值。但其实,你可以不用这种方法和htm交互,你可以直接调用js的。
参考 http://foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=51086&replyID=335028&skin=1