Article View: cn.bbs.comp.lang.java
Article #24798Re: �ʸ��й�javascript������
From: charles
Date: Mon, 22 Dec 1997 00:00
Date: Mon, 22 Dec 1997 00:00
30 lines
1478 bytes
1478 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.!!!!!!!!
:
--
[1;36m�� ��Դ:����ˮ˼Դվ bbs.sjtu.edu.cn��[FROM: www]
Technical Details
Message-ID:
<3ME4d4$7if@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f6cb0,ba246a816919f15d,start X-Google-Attributes: gidf6cb0,public From: choi.bbs@bbs.sjtu.edu.cn (charles) Subject: Re: �ʸ��й�javascript������ Date: 1997/12/22 Message-ID: <3ME4d4$7if@bbs.sjtu.edu.cn> X-Deja-AN: 309556511 X-Filename: Java/M.882756436.A Organization: ��ˮ˼Դվ Newsgroups: cn.bbs.comp.lang.java