请教一个javaScript单双引号转义的问题的问题<input type= "button " value= "test " onclick= "alert( 'txt ') "> 我现在想能够alert出 t 'x "t 该怎么写呢?[解决办法] <input type= "button " value= "test " onclick= "alert( 't\ 'x"t ') ">