🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #24799

Re: �ʸ��й�javascript������

#24799
From: charles
Date: Mon, 22 Dec 1997 00:00
30 lines
1467 bytes
I think the function number should be
<function checkform(thisform)>
and in the form you should right this way
<onSubmit="return checkform(this)">
May it help you.
�� �� macintosh (�������) �Ĵ������ᵽ: ��
:   ��д�˸���ҳ�������и�form.
:   <Form name="xxx" action="mailto:yyy@xmu.edu.cn" method="post">
:   <input .........................>
:   .......................
:   ......................................
: 
:   <input type="button" name="send" value="�ͳ���Ϣ"
:               onclick="checkform(this.form)">
: 
: 
: ��checkform function�� ���������ݵĺϷ��Ժ��ύ���
: checkform(form)
: {
:   .............
:   .................
:   document.xxx.submit();          <------------�ύ���
:   }
: 
: ���Ǿ�Ȼ��ִ���ύ����������document.forms[0].submit()Ҳ���С�
: Help me.!!!!!!!!
: 
--
�� ��Դ:����ˮ˼Դվ bbs.sjtu.edu.cn��[FROM: www]
Technical Details
Message-ID: <3ME4bR$7ek@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,cd8a7a4b0d451262
X-Google-Attributes: gidf6cb0,public
From: choi.bbs@bbs.sjtu.edu.cn (charles)
Subject: Re: �ʸ��й�javascript������
Date: 1997/12/22
Message-ID: <3ME4bR$7ek@bbs.sjtu.edu.cn>
X-Deja-AN: 309556512
X-Filename: Java/M.882756363.A
Organization: ��ˮ˼Դվ
Newsgroups: cn.bbs.comp.lang.java