Free Web Hosting PHP/mySQL
GlobalWeb.com.ru Forum Index GlobalWeb.com.ru
Free Web Hosting :: Commercial Web Hosting :: PHP/mySQL :: CGI/Perl
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

submit form

 
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Howtos
Author Message
che100



Joined: 28 Feb 2004
Posts: 20
Location: Lebanon

PostPosted: Mon Mar 01, 2004 1:41 am    Post subject: submit form Reply with quote

submit form on pressing enter

<SCRIPT LANGUAGE="javascript">
function send()
{document.theform.submit()}
</SCRIPT>

<FORM NAME="theform" METHOD="post"
ACTION="mailto:jburns@htmlgoodies.com" ENCTYPE="text/plain">

<b>Submit your Name:</b>

<INPUT TYPE="text" name="mardi" size="30"
MAXLENGTH="30" onUnfocus="send()">

</FORM>
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sam
Banned


Joined: 01 Mar 2004
Posts: 51
Location: IL

PostPosted: Mon Mar 01, 2004 1:21 pm    Post subject: Reply with quote

what is
{document.theform.submit()}
?
_________________
Back to top
View user's profile Send private message Visit poster's website
macabist
Banned


Joined: 01 Mar 2004
Posts: 35

PostPosted: Mon Mar 01, 2004 1:45 pm    Post subject: Reply with quote

u dont need any script
u just need to make an sumbit button and it is send it alone
Back to top
View user's profile Send private message
i03m



Joined: 02 Mar 2004
Posts: 6

PostPosted: Tue Mar 02, 2004 12:58 pm    Post subject: Reply with quote

Your code is very simple ..... Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Howtos All times are GMT
Page 1 of 1

 


Free Web Hosting, Commercial Web Hosting, PHP/mySQL Copyright © 2009
Free Scripts Directory | Free Software Downloads | Newsgroups Directory | Optel.net | Mirroraty | Cruised.net | Hardware Keylogger