Javascript动态创建控件
<html>
<head>
<title></title>
<script?language="javascript"?type="text/javascript">
function?createElement(tagName,?type)
{
???var?element?=?null;
???try
???{
??????element?=?document.createElement('<'?+?tagName?+?'?name="'+name+'"?/>');
??????element.type?=?type;
??????element.value?=?value;
???}
???catch?(e)
???{
???}
???if?(?!<