1
attock
Auto Submit Form - <INPUT type="submit" ...>
  • 2006/9/4 7:03

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Does anybody know if there is there a way to auto submit a form, without cliking on it.

<INPUT type="submit" [sumthing like auto submit]>


Regards ~

2
frankblack
Re: Auto Submit Form -
  • 2006/9/4 7:19

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


I wonder why you want to do this? The user HAS to fill in information first, so you want to give them no time for this? Even when you make some javascript-tricks you should give your users the chance to check wether all information is WRITTEN correctly.

3
attock
Re: Auto Submit Form -
  • 2006/9/4 19:34

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Actually i was trying to integerate pcpin chat script. I edited the script to make sure 'uname' gets to be the name of the chatter. Thats why I wanted it have it auto submit. I googled for autosumbit forms and found some java tricks. One of them is as follows

<head>
<SCRIPT LANGUAGE="JavaScript">
function submitForm(){
document.loginform.submit();
}
</SCRIPT>
</head>


<BODY onload="submitForm()">

Login

Who's Online

171 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits