急……写在后台的input按钮如何使用单击事件
string table = "<table id='tableMain'>";
table += "<caption style='text-align:center;font-weight:bold'>任务名称:" + rwname + "</caption>";
string tr1 = "<tr><th><input type='text' readonly='readonly' value='采样地点' /></th>";
string tr2 = "<tr><th><input type='text' readonly='readonly' value='样品编号'/></th>";
string tr3 = "<tr><th><input type='text' readonly='readonly' value='采样时间' /></th>";
string tr4 = "<tr><th></th>";
string td1 = "";
string td2 = "";
string td3 = "";
string td4 = "";
foreach (DataRow dr in jcyp.Tables[0].Rows)
{
td1 += "<th><input type='text' name='ypname' readonly='readonly' value='" + dr[0] + "'/></th>";
td2 += "<td><input type='text' name='bianhao' value='" + dr[2] + "' /></td>";
td3 += "<td><input type='text' name='shijian' value='" + dr[3] + "' onfocus='WdatePicker()' /></td>";