日期:2014-05-17  浏览次数:21224 次

asp中用response.write 输出javascript怎么写
<input   type= "button "   name= "button "   value= "注   册 "   class= "inputButton "     onclick= "MM_openBrWindow( 'reg.asp ', ' ', ' ') "/> </td>


response.write   " <input   type= 'button '   name= 'button '   value= '注   册 '   class= 'inputButton '     onclick=这里javascript   怎么写呢   > "


------解决方案--------------------
response.write " <input type= " "button " " name= " "button " " value= " "注 册 " " class= " "inputButton " " onclick= " "MM_openBrWindow( 'reg.asp ', ' ', ' ') " "/> </td> "
------解决方案--------------------
response.write " <input type=button name=button value=注 册 class=inputButton onclick=MM_openBrWindow( 'reg.asp ', ' ', ' ')/> "

不加引号似乎也可以~
------解决方案--------------------
para=replace(para, " " " ", " " " " " ")
para=replace(para, " ' ", "\ ' ")
response.write(para)
------解决方案--------------------
" "