当前位置:首页 » 操作系统 » 表单收集源码

表单收集源码

发布时间: 2022-09-07 10:05:24

㈠ HTML页面怎么获取HTML的form表单的数据的源代码,有吗。。。拜托了

<form id="form1" name="form1" method="post" action="index.php
src=325&item=iframe&action=save&t=&lc=2" onsubmit="return check();" style="width:433px;height:301px">
<table width="433" height="301" cellpadding="0" cellspacing="0" style="background-image:url(images/sub_mi_expo_05.jpg); width:433px; height:301px;">
<tr>
<td height="70"></td>
</tr>
<tr>
<td width="105" align="right" height="40" class="font_color">您的姓名:</td>
<td align="left" width="102" style="width:102px; overflow:hidden;"><input type="text" id="name" name="name1" maxlength="8"/></td>
<td align="right" width="50" class="font_color" style="width:50px; overflow:hidden;">手机:</td>
<td align="left" width="176"><input type="text" id="phone" name="phone1" maxlength="11"/></td>
</tr>
<tr>
<td width="105" align="right" height="45" class="font_color">收票地址:</td>
<td colspan="3"><input type="text" id="address" name="address" maxlength="100" /></td>
</tr>
<tr>
<td width="105" align="right" height="35" class="font_color">快递时间:</td>
<td colspan="3"><input type="radio" name="express" value="3" checked="checked"/>任何一天 <input type="radio" name="express" value="1"/>工作日 <input type="radio" name="express" value="2"/>双休日 </td>
</tr>
<tr>
<td height="55"></td>
<td colspan="3"><p style="width:154px; text-align:center; float:left; height:37px; font-size:12px; color:#FF6666; overflow:hidden; line-height:34px; background-image:url(images/new_cdbm_12.jpg); background-repeat:no-repeat;">已有<font style="font-size:22px; color:#FF0000; font-family:Arial;"></font>人报名</p>
<p style="width:127px; height:37px;float:left;"><input type="submit" value="" id="order_sh" style=" cursor:pointer;background-image:url(images/TIJ_EXPO_NEW_06.jpg); border:0;width:127px; height:37px;" /></p></td>
</tr>
</table>

㈡ 制作一个表单,求源代码!!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<script>
function a(v){
if( v == "11020010710032" ){
document.getElementsByName("xuli").action="\\xueli\\1103651402008\\result.html";
}else if( v == "00000000000000" ){
document.getElementsByName("xuli").action="\\xueli\\1108073894215\\result.html";
}else if( v == "116471200306000552" ){
document.getElementsByName("xuli").action="\\xueli\\1184672192406\\result.html";
}
}
</script>
<BODY>
<table>
<form method="post" name="xuli" id="xuli" action="">
<tr>
<td width="70" height="26"><img src="/xlcx/images/200411/xlcx_zsbh.gif"></td>
<td height="26"><input name="bianhao" type="text" class="input" id="bianhao" size="36" onblur="a(this.value)" maxlength="20">
<a href="#zs"><u><font color="#FF0000">编号规则</font></u></a></td>
</tr>
<tr>
<td height="26"><img src="/xlcx/images/200411/xlcx_xm.gif" width="25" height="12"></td>
<td height="26"><input name="XM" maxlength="24" type="text" size="26" class="input"></td>
</tr>
<tr>
<td height="26"><img src="/xlcx/images/200411/xlcx_cxm.gif" width="38" height="12"></td>
<td height="26"><input name="QueryID" maxlength="15" type="text" size="26" class="input">

<input name="freeQuery" type="checkbox" value="1" style="border:#FFFFFF solid 0px;height:16px" onClick="xlcx();"><font color="#FF0000">2007</font>

<a href="javascript:cxm();"><u>获取查询码</u></a></td>
</tr>
<tr>
<td height="26"><img src="/xlcx/images/200411/xlcx_yzm.gif" width="38" height="12"></td>
<td height="26"><input name="CHKNUM" type="text" id="CHKNUM" size="4" maxlength="4" class="input">

<SCRIPT>
document.write("<img border=0 align=center src=/ValidatorIMG.JPG?ID=" + Math.random()*10000 + ">")
</SCRIPT>
输入图片中的四个数字(<span class="STYLE1">半角输入状态</span>)</td>
</tr>
<tr>
<td height="30"> </td>
<td height="30" align="center" valign="bottom"><input name="chaxun" type="submit" id="chaxun" value="查 询"></td>
</tr>

</form>
</table>
</BODY>
</HTML>

㈢ js怎么获取form表单源码及表单元素状态

源码:document.getElementById("formId").innerHTML
状态:document.getElementById("inputId").disabled 之类的,不清楚你说的状态是指什么

㈣ 易语言 普通表单 网页_取源码 求大神解决

HGKKHJG

朋友,你如果想写一个注册软件,我建议你最好用POST的方法比较好,速度超快

不会我可以教你!

㈤ 微信第三方平台开发的万能表单源码哪有

源码一般不会给你的,但是如果你要做二次开发的话可以用那个“表单大师”,它是可以用css表格还有样式进行修改的,嵌入到网页,或者把LOGO去掉,可以随便改,不过要会HTML~你可以试试

㈥ php+curl获取的表单源码,以字符串转换为数组

function sendcheck($url,$code)
{
global $logger;
$ch = curl_init();
if(!$ch)return -1; //设置适当的参数
curl_setopt($ch, CURLOPT_URL , $url);//连接
if(!curl_setopt($ch, CURLOPT_HEADER, 0)) return -2; //发送,设置curl_exec执行结果返回,成功返回获得内容,否则false
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //返回值为空
if(!curl_setopt($ch,CURLOPT_TIMEOUT ,30))return -3; //执行curl操作最大时间为 10 s
if(!curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,30))return -4 ; //curl对外连接大时间为 10 s
$result = curl_exec($ch); //访问资源;

//服务器无响应或者网络连接错误处理,重新发送请求信息,最多10次,每次 10 s 间隔
for($i =0 ; $i <= 9; $i++ ){
if(!$result){ //上一次未得到数据
$result = curl_exec($ch); //下一次的数据发送;
}else{
$logger->info("已成功通知");
break;
}
}
if(!$result){
$logger->info("通知失败");
}
curl_close($ch); //关闭curl资源
}

㈦ 设计如下一个表单页面,写出相应的代码。

表单是实现动态网页的一种主要的外在形式。表单和表单域并不具有排版的能力,表单网页的制作最终还是要由表格组织起来。html表单是html页面与浏览器端实现交互的重要手段。利用表单可以收集客户端提交的有关信息。 在浏览网站时经常会遇到表单,它是网站实现互动功能的重要组成部分。无论网站使用的是那种形式的语言来实现网站的互动功能,例如ASP、PHP、JSP,表单已经成为它们统一的外在形式。 表单的主要功能是收集信息,具体说是收集浏览者的信息。例如在网上要申请一个电子信箱,就必须按要求填写完成网站提供的表单页面,其主要内容是姓名、年龄、联系方式等个人信息。又例如要在某论坛上发言,发言之前要申请资格,也是要填写完成一个表单网页。 表单可以用于调查、订购、搜索等功能。一般的表单由两部分组成,一是描述表单元素的html源代码,二是客户端的脚本,或者服务器端用来处理用户所填信息的程序。在html里,我们可以定义表单,并且使表单与CGI或ASP等服务器端的表单处理程序配合。 表单信息处理的过程为:当单击表单中的提交按纽时,输入在表单中的信息就会上传到服务器中,然后由服务器中的有关应用程序进行处理,处理后或者将用户提交的信息储存在服务器端的数据库中,或者将有关的信息返回到客户端浏览器中。 表单是网页上的一个特定区域。这个区域是由一对<Form>标记定义的。这一步有几方面的作用。第一方面,限定表单的范围。其它的表单对象,都要插入到表单之中。单击提交按纽时,提交的也是表单范围之内的内容。第二方面,携带表单的相关信息,例如处理表单的脚本程序的位置、提交表单的方法等。这些信息对于浏览者是不可见的,但对于处理表单确有着决定性的作用。 基本语法01 <Form name="Form_name" method="method" action="url" enctype="value" target="target_win"> 02 …… 03 </Form> 语法解释<Form>标记的属性如下表所示 属性 描述 name 表单的名称 method 定义表单结果从浏览器传送到服务器的方法,一般有两种方法:get和post action 用来定义表单处理程序(ASP,CGI等程序)的位置(相对地址或绝对地址) enctype 设置表单资料的编码方式 target 设置返回信息的显示方式 <FORM>标记的ENCTYPE属性基本语法01 <Form enctype="value"> 02 …… 03 </Form> 语法解释value的取值如所下表所示 属性值 描述 Text/plin 以纯文本形式传送信息 Application/x-www-Form-urlencoded 默认的编码形式 Multipart/Form-data 使用mine编码 文件范例:11-4.htm设置表单信息提交的编码方式。01 <!-- ------------------------------ -->02 <!-- 文件范例:11-4.htm -->03 <!--文件说明:设置信息提交的编码方式-->04 <!-- ------------------------------ -->05 <html>06 <head>07 <title>设置信息提交的编码方式</title>08 </head>09 <body>10 <h1>用户调查</h1>11 <Form name=invest action=mailto:[email protected] method=get enctype=text/plain>12 </Form>13 </body>14 </html>

㈧ 谁能帮写个简单的html表单源代码

这是以前在学校写的 自己拿去改改吧
那个发邮件的指定到你邮箱的功能不是html能实现的饿- -!

<html>
<head>
<title>表单源码</title>
<head>
<body bgcolor="#A0EEDC">
<form method="post" action="c:\" name="myform" enctype="multipart/form-data">
<table bgcolor="#DAB4F1" width="60%" height="70%" align="center" border="0" bordercolor="red" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" bgcolor="#A3C2E4" align="center" width="100%" >请完成以下表格</td>
</tr>
<tr>
<td align="right" width="30%">姓名 </td>
<td><input type="text" name="yhm" size="10" maxlength="15"/></td>
</tr>
<tr>
<td> </td>
<td align="left"><font size="2">请在此处填写姓名,</font><br/><font face="黑体" color="#ff0000" size="3">字符最长为四个汉字,或八个英文字母</font><td>
</tr>
<tr>
<td align="right">性别 </td>
<td>
<input type="radio" name="xb" value="男"/>男
<input type="radio" name="xb" value="女"/>女
</td>
</tr>
<tr>
<td align="right">电子邮件地址 </td>
<td><input type="text" name="dzyj" size="40" maxlength="50"/></td>
</tr>
<tr>
<td align="right">职业</td>
<td>
<select name="zy">
<option value="0" selected>传播/媒体 </option>
<option value="1">计算机/IT</option>
<option value="2">金融</option>
<option value="3">教育</option>
<option value="4">其他</option>
</select>
</td>
</tr>
</>
<tr>
<td align="right">个人爱好</td>
<td>
<input type="checkbox" name="ah" value="0"/>电脑网络
<input type="checkbox" name="ah" value="1"/>影视娱乐
<input type="checkbox" name="ah" value="2"/>棋牌游戏 <br/>
<input type="checkbox" name="ah" value="3"/>读书读报
<input type="checkbox" name="ah" value="4"/>美酒佳肴
<input type="checkbox" name="ah" value="5"/>绘画书法
</td>
</tr>
<tr>
<td> </td>
<td><font face="楷体" size="3">在此选择兴趣爱好,可以选择一个以上的选项。</td>
</tr>
<tr>
<td align="right">留言内容</td>
<td><textarea cols="25" rows="4" name="liuyan"></textarea></td>
</tr>
<tr>
<td colspan="2" bgcolor="#A3C2E4" align="center" width="100%" ><font size="2">请完成后,选择下面的Submit按钮提交表单。</font></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="tj" value="Sumbit"/>
<input type="reset" name="qk" value="Reset"/>
</td>
</tr>
</table>
</form>
</body>
</html>

㈨ 能否找到应用于html中表格和表单使用的源代码

Function FormatText(String) '''替换空格,尖括号,回车。可防html。
String=Server.HTMLEncode(String)
'String=Replace(String,"<","〈")
'String=Replace(String,">","〉")
String=Replace(String,CHR(32),"")
String=Replace(String,CHR(13)&CHR(10), "<br>")
FormatText=String
End Function

Function FormatCode(String) '''完全原样,可防html,可用作显示源代码。
String="<xmp>"&String&"</xmp>"
FormatCode=String
End Function

Function FormatHTML(String) '''限制无法
使用on.....事件,无法使用JavaScript。
String=Replace(String,"onmouseover","0nmouseover",1,-1,vbTextCompare)
String=Replace(String,"onmouseout","0nmouseout",1,-1,vbTextCompare)
String=Replace(String,"onmousedown","0nmousedown",1,-1,vbTextCompare)
String=Replace(String,"onmouseup","0nmouseup",1,-1,vbTextCompare)
String=Replace(String,"onmousemove","0nmousemove",1,-1,vbTextCompare)
String=Replace(String,"onclick","0nclick",1,-1,vbTextCompare)
String=Replace(String,"ondblclick","0ndblclick",1,-1,vbTextCompare)
String=Replace(String,"onkeypress","0nkeypress",1,-1,vbTextCompare)
String=Replace(String,"onkeydown","0nkeydown",1,-1,vbTextCompare)
String=Replace(String,"onkeyup","0nkeyup",1,-1,vbTextCompare) '各种事件
String=Replace(String,"Script:","Script:",1,-1,vbTextCompare) 'JavaScript:,JScript:VBScript:
String=Replace(String,"<script","<xmp><script",1,-1,vbTextCompare)
String=Replace(String,"</script>","</script></xmp>",1,-1,vbTextCompare) '<script>...</script>标签
FormatHTML=String
End Function

Function FormatHTMLEx(String) '''不作任何限制
FormatHTMLEx=String
End Function

Function Formatsql(String) '''防止sql语句出错
String=Replace(String,"'","''")
FormatSQL=String
End Function

㈩ 请教,vfp如何查看完全的表单的源代码

在表单的init事件里写:thisform.text1.value = “” &&初始化text1,让其输入的值为字符型

按钮事件:
cStr = alltirm(thisform.text1.value)
try
if val(cStr) < 100 &&将字符型转化成数值型并检测是否小于100
thisform.releas() &&小于100则退出表单
endif
CATCH &&如果字符包含了非法字符(val(cStr) 会抛出错误,则跳到此处)则退出表单
thisform.releas()
endtry
&&条件满足了赋值
with thisform
.textbox2.value = subst(cStr,1,1)
.textbox3.value = subst(cStr,2,1)
.textbox4.value = subst(cStr,3,1)
endwith

热点内容
暴风影音缓存在哪里 发布:2025-05-12 12:42:03 浏览:534
access数据库exe 发布:2025-05-12 12:39:04 浏览:622
五开的配置是什么 发布:2025-05-12 12:36:37 浏览:358
加密ovpn 发布:2025-05-12 12:01:55 浏览:44
python练手项目 发布:2025-05-12 11:14:07 浏览:122
压缩听算音频 发布:2025-05-12 10:58:12 浏览:801
数据库系统报告 发布:2025-05-12 10:43:17 浏览:603
日产高配有哪些配置 发布:2025-05-12 10:32:16 浏览:475
大众朗逸哪个配置值得入手 发布:2025-05-12 10:31:20 浏览:505
压缩包的后缀 发布:2025-05-12 10:20:35 浏览:944