Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Location
    pakistan
    Posts
    109

    Unanswered: auto submission of form?

    i want to submit a form automatic which is a answer box and it has a limit that in 46 seconds it will automatic submit form name is answer and the coding which i applied is that for auto submission
    PHP Code:
    <script>
        
    setTimeout("answer.submit()"46000);
    </script> 
    this is the coding

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    sorry what has this to do with JAVA, unless you are writing an applet?
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Jun 2008
    Location
    pakistan
    Posts
    109
    i don't do this in java but in javascript can you tell me because here isn't any javascript forum available so i do this post in java section so tell me about that to do in javascript only

  4. #4
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    and I suspect this has nothing to do with Javascript either.
    you can do this as part of the HTML header
    <html>
    <head>
    .....plus any other <meta tags>........
    <meta http-equiv="refresh" content="46;URL=url to go to after 46 seconds">
    </head>
    <body>
    ....blah di blah.....
    </body>
    </html>

    ...eg
    say the url to go to was http://www.dbforums.com
    <meta http-equiv="refresh" content="46;URL=http://www.dbforums.com">

    If you are learning about the basics of web design then I think you need to look at sites such as W3Schools Online Web Tutorials
    this site is more aimed at helping people with database related problems. theres no database issues with Javascript as Javascript doesn't interact with databases directly.

    HTH
    I'd rather be riding on the Tiger 800 or the Norton

  5. #5
    Join Date
    May 2009
    Posts
    1
    was seeking the ans of the same matter thank u so very much for sharing it specialy headline..... ur post helped me alot....

  6. #6
    Join Date
    Jun 2009
    Posts
    2
    It's really great. I like it very much.

    pret auto

  7. #7
    Join Date
    Jun 2009
    Posts
    7
    any possibilities to create a website by using java coding

  8. #8
    Join Date
    Jun 2009
    Posts
    1
    I posted a java script question but i cannot see it anywhere in the discussion threads! okay, my question is answered because i have seen the answer to it. Do not bother to answer me again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •