當前位置:首頁 » 操作系統 » 表單收集源碼

表單收集源碼

發布時間: 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 10:43:17 瀏覽:601
日產高配有哪些配置 發布:2025-05-12 10:32:16 瀏覽:475
大眾朗逸哪個配置值得入手 發布:2025-05-12 10:31:20 瀏覽:505
壓縮包的後綴 發布:2025-05-12 10:20:35 瀏覽:940
煙台招聘編程 發布:2025-05-12 10:04:21 瀏覽:53
sql查詢所有表名 發布:2025-05-12 10:01:28 瀏覽:664
用python編譯器的簡單代碼 發布:2025-05-12 09:48:40 瀏覽:358
香港多ip站群伺服器租用 發布:2025-05-12 09:33:16 瀏覽:895
kaliapk編譯 發布:2025-05-12 08:47:56 瀏覽:357
健身穿壓縮衣 發布:2025-05-12 08:44:53 瀏覽:479