猪八戒APP
判断页面text表单值是否为空,如果为空则提示并获得焦点
金华
网站定制开发
需求标题
判断页面text表单值是否为空,如果为空则提示并获得焦点
需求描述
此为搜索结果页面。可能只有一行数据,也可能有多行数据。
如果只有一行,则焦点返回**表单;如果有多行,则焦点返回相应的那个表单。
<%
for i=0 to rs.pagesize-1 '循环开始
if rs.bof or rs.eof then exit for
Response.write "<tr>"
Response.write "<td>"&rs("Pro_number")&"</td>" '货号
Response.write "<td><form name='myform2' method='post' action='./Product_AddChk.asp' autocomplete='off' target='mid2' onSubmit='return formchk2();'>"
Response.write "<input type=text id='out_sum' name='out_sum' value='"&rs("pro_MOQ")&"' size=3> <input type='submit' name='Submit2' value='添加' style='height:35px;background-color: #006699 ;color: #ffff00'/></form></td></tr>" '购买数量
rs.movenext() '移到下一条记录
next
%>
预算金额
¥100元
允许参与人才数量
--
人才所在地
--
人才类型
--
工作反馈要求
无要求
期望完成日期
--
开票类型要求
无要求