使用DOM标准方法调用javascript 1 var textName= document.getElementByid("txtid"); 转载于:https://www.cnblogs.com/lingen163/p/10961446.html