jsp页面中的<input type="button" id="button" onclick="txt()">运行时onclick事件不发生,不知怎么回事!请教大家了!!!js文件写在jsp页中和单独写都这样。