WebBrowser提交问题(已解决)(300)

  • 主题发起人 主题发起人 fjswge
  • 开始时间 开始时间
F

fjswge

Unregistered / Unconfirmed
GUEST, unregistred user!
<style>td{font-size:9pt;line-height:120%;color:#353535} body{font-size:9pt;line-height:120%} a:link { color: #000000; text-decoration: none }a:visited { color: #000000; text-decoration: none }a:active { color: #000000; text-decoration: none }a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }.pad { PADDING-LEFT: 2px}</style><html><head><style type="text/css"><!-- td { font-size: 12px; line-height: 17px }body { font-size: 12px; line-height: 17px }p { margin-top: 1; margin-bottom: 1 }a:link { text-decoration: none; color: black }a:visited { text-decoration: none; color: black }a:active { text-decoration: none }a:hover { text-decoration: underline; color: red }--></style><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>发布广告</title><link rel="stylesheet" type="text/css" href="/css/style.css"><script language="javascript" src="../js/calendar.js" type="text/javascript" charset= "gb2312"></script><SCRIPT LANGUAGE="JavaScript"><!--//function checkadd(){ if (document.form.quyu.value.length<1) { alert("请填写区域!"); document.form.quyu.focus(); return false; } if (document.form.man.value.length<1) { alert("请填写您的名字!"); document.form.man.focus(); return false; } if (document.form.tel.value.length<1) { alert("请填写您的联系电话!"); document.form.tel.focus(); return false; } }//--></SCRIPT><SCRIPT LANGUAGE="JavaScript"> <!-- BeginmaxLen = 1000;function checkMaxInput(form) {if (form.dtext.value.length > maxLen)form.remLen.value = 0;else form.remLen.value = maxLen - form.dtext.value.length;}// End --></script></head><body background="images/background.gif"> <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #799AE1"> <tr> <td width="570" bgcolor="#FFFFFF" valign="top"><form action="" name="form" method="post" onSubmit="return checkadd()"><table border="0" align="center" cellpadding="0" cellspacing="0" width="100%"> <tr><td height="25" colspan="2" background="../images/bg.jpg"><b>发布出售信息</b></td></tr> <tr> <td width="22%" height="30" align="right"><font color="#FF0000">*</font>区 域:</td> <td width="78%" align="left"><input type="text" name="quyu" size="20" maxlength="50" /></td> </tr> <tr> <td width="22%" height="30" align="right"><font color="#FF0000">*</font>中介名称:</td> <td width="78%" align="left"><input type="text" name="mingchenga" size="20" maxlength="50" /></td> </tr> <tr> <td height="30" align="right"><font color="#FF0000">*</font>联系人:</td> <td align="left"> <input type="text" name="man" size="10" maxlength="15" /></td> </tr> <tr> <td height="30" align="right">户型:</td> <td align="left"><select size="1" name="hx"> <option value="四室二厅" selected="selected">四室二厅</option> <option value="三室一厅">三室一厅</option> <option value="三室二厅">三室二厅</option> <option value="二室一厅">二室一厅</option> <option value="二室二厅">二室二厅</option> <option value="一室一厅">一室一厅</option> <option value="多层错层">多层错层</option> <option value="排屋">排屋</option> <option value="仓库">仓库</option> <option value="店面">店面</option> <option value="屋顶花园">屋顶花园</option> <option value="别墅">别墅</option> <option value="写字楼">写字楼</option> <option value="单间">单间</option> <option value="其他">其他</option> </select></td> </tr> <tr> <td height="30" align="right">楼层:</td> <td align="left"><input type="text" name="lc" size="10" maxlength="10" /></td> </tr> <tr> <td height="30" align="right">朝向:</td> <td align="left"><select name="chaoxiang" size=1> <option selected value="南" >南</option> <option value="东">东</option> <option value="西">西</option> <option value="北">北</option> </select></td> </tr> <tr> <td height="30" align="right"><font color="#FF0000">*</font>面积:</td> <td align="left"><input type="text" name="area" size="10" maxlength="10" />平方米</td> </tr> <tr> <td height="30" align="right">车库:</td> <td align="left"><input type="text" name="areaa" size="10" maxlength="10" />平方米</td> </tr> <tr> <td height="30" align="right"><font color="#FF0000">*</font>价格:</td> <td align="left"> <input type="text" name="price" size="10" maxlength="15" /> 万元 </td> </tr> <td height="30" align="right"><font color="#FF0000">*</font>付款方式:</td> <td align="left"><select name="fukuaifs" size=1> <option selected value="按揭" >按揭</option> <option value="一次性">一次性</option> </select></td> <tr> <td height="30" align="right"><font color="#FF0000">*</font>电话:</td> <td align="left"> <input type="text" name="tel" size="10" maxlength="50" /></td> </tr> <tr> <td height="30" align="right"><font color="#FF0000">*</font>Q Q:</td> <td align="left"> <input type="text" name="qq" size="10" maxlength="15" /></td> </tr> <tr> <td width="22%" height="30" align="right"><font color="#FF0000">*</font>地址:</td> <td width="78%" align="left"><input name="zhongjiedizhi" type="text" id="addr" size="35" maxlength="50" /></td> </tr> <tr> <td height="30" align="right">设施:</td> <td align="left"><select name="zhx" size=1> <option selected value="毛坯" >毛坯</option> <option value="简单装修">简单装修</option> <option value="中等装修">中等装修</option> <option value="精细装修">精细装修</option> <option value="豪华装修">豪华装修</option> </select></td> </tr> <tr> <td height="30" align="right">建造年份:</td> <td align="left"><label> <input name="jianzaonf" type="text" size="10" maxlength="4"> </label></td> </tr> <tr> <td height="30" align="right">截止时间:</td> <td align="left"><input type="text" name="yxqx" size="10" maxlength="10" value="2009-11-21" readonly="readonly" style="text-align:center;" /> <img src="../images/calendar.gif" width="15" height="15" style="cursor:pointer;" onClick="popUpCalendar(this, yxqx,'yyyy-mm-dd');" /></td> </tr> <tr> <td height="30" align="right">其他说明:</td> <td align="left"><textarea name="qita" cols="50" rows="4"></textarea></td> </tr> <tr><td> </td><td><input name="on" type="hidden" value="1"><input type="submit" name="submit" value="发布信息" /> <input type="reset" value="取消" name="reset"> <input type="button" value="返回" name="back" onClick="javascript:history.back()"></td></tr> </table></form></td></tr></table>
</body> </html> <script language="Javascript">function openScript(url, width, height){ var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=no,menubar=no,frameborder=0,status=yes' );}function openem(){ openScript('upload.asp',350,200); }</script><SCRIPT language=javascript><!--function wfndisplay(){ wf.style.display="none"; wf1.style.display="none";}function wfbdisplay(){ wf.style.display="block"; wf1.style.display="block";}//--></SCRIPT>以上网页源文件。使用WebBrowser1.OLEObject.Document.forms.item(0,0).submit;提交出错了
 
恭喜,接分
 
应该把解决的思路贴出来,这样以后别人再遇到时就有资料可查了。
 
多人接受答案了。
 

Similar threads

A
回复
0
查看
533
Andreas Hausladen
A
A
回复
0
查看
714
Andreas Hausladen
A
A
回复
0
查看
732
Andreas Hausladen
A
A
回复
0
查看
480
Andreas Hausladen
A
I
回复
0
查看
745
import
I
后退
顶部