关于引号的用法
response.write " <input type= 'button ' name= 'btn ' onclick= 'check(yzt) '> "
其中check有参数,应写为check( 'yzt '),但双引号和单引号都用上了,请问该如何写check()
js:
function check(s){
..............省略
}
------解决方案--------------------response.write " <input type= " "button " " name= " "btn " " onclick= " "check( 'yzt '); " "> "