If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > auto submission of form?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-09, 07:06
don_log don_log is offline
Registered User
 
Join Date: Jun 2008
Location: pakistan
Posts: 109
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
Reply With Quote
  #2 (permalink)  
Old 05-12-09, 07:20
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
sorry what has this to do with JAVA, unless you are writing an applet?
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 05-12-09, 09:22
don_log don_log is offline
Registered User
 
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
Reply With Quote
  #4 (permalink)  
Old 05-13-09, 03:37
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
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 my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #5 (permalink)  
Old 05-27-09, 15:16
Aadil_rules Aadil_rules is offline
Registered User
 
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....
Reply With Quote
  #6 (permalink)  
Old 06-17-09, 20:53
kennedyusa058 kennedyusa058 is offline
Registered User
 
Join Date: Jun 2009
Posts: 2
It's really great. I like it very much.

pret auto
Reply With Quote
  #7 (permalink)  
Old 06-22-09, 16:28
junction4seo junction4seo is offline
Banned
 
Join Date: Jun 2009
Posts: 7
any possibilities to create a website by using java coding
Reply With Quote
  #8 (permalink)  
Old 06-25-09, 18:01
TIMHO TIMHO is offline
Registered User
 
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!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On