一个简单的AJAX方法 »
TINY={};functionT$(id){returndocument.getElementById(id)}TINY.ajax=function(){return{call:function(u,d,f,p){varx=window.XMLHttpRequest?newXMLHttpRequest():newActiveXObj...
TINY={};functionT$(id){returndocument.getElementById(id)}TINY.ajax=function(){return{call:function(u,d,f,p){varx=window.XMLHttpRequest?newXMLHttpRequest():newActiveXObj...
HTML<button>是我比较喜欢使用的标签,经常用来取代<input>标签的type属性值(button,submit,reset)。在我的概念中我觉的<button>是比较有语义性的标签,用它做表单按钮是比较合适的选择。<button>比<input>更厉害的地方就在于...