动态增加控件


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

?document.getElementById(“WebUrl”).innerHTML+=”<br/><input type=’text’ name=’txt”+i+”‘ id=’txt”+i+”‘ style=’width:400′ ><input type=’button’ name=’txt”+i+”‘ id=’dt”+i+”‘ value=’删除’ onclick=’DelText(this)’>”;

传id,改变其innerHTML即可。