1. label與form控件的關聯,
<label for="MyInput">My Input</label>
<input id="MyInput" type="text">
for屬性指定與label關聯的元素的id,不可用name替代。
<label for="MyInput">My Input</label>
<input id="MyInput" type="text">
for屬性指定與label關聯的元素的id,不可用name替代。
總覺得
var request;
if(window.XMLHttpQuest)
{
request=new XMLHttpRequest();
//IE7+,firefox,chrome,opera,safari...
}
else
{
request=new ActiveXObiect("Microsoft.XMLHTTP");//IE6,IE5
}
是錯的
var request;
if(window.XMLHttpQuest)
{
request=new XMLHttpRequest();
//IE7+,firefox,chrome,opera,safari...
}
else
{
request=new ActiveXObiect("Microsoft.XMLHTTP");//IE6,IE5
}
是錯的
2016-12-09
Notice: Undefined index: name in /Users/LXH/PhpstormProjects/hello.php on line 54
2016-12-09