English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi, everybody.

I am looking for a way to automatically submit a form, so that when a user clicks a link, it goes to an external page and the embedded script will automatically submit a hidden HTML form. Preferably, I would like this done with Javascript, but my server does support server-side scripting languages.

So if there is a PHP or Perl alternative, please post it.

If you were wondering, I want to make a MySpace (yes, ANOTHER question about MySpace) auto-bulletin script so that when it submits it, it will automatically post another bulletin.

If anybody needs the URL to the HTML of the form, please ask.

2007-04-26 13:51:40 · 1 answers · asked by John1704 3 in Computers & Internet Programming & Design

Here is the form I want:




FIRST PERSON TO GIVE ME A COPY & PASTEABLE CODE AUTOMATICALLY RECEIVES BEST ANSWER

PHP, Perl, and Javascript are supported. Thanks.

2007-04-29 13:23:55 · update #1

1 answers

Javascript is client side scripting so you do not have to worry about your server support.
The command you are looking for is
document.formName.submit();

But you may want to have a way of controlling the number of times that the form is sent. Or perhaps you don't care.

2007-04-27 00:03:57 · answer #1 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers