Javascript example for redirecting users automatically

I am trying to modify the Index.html. I find that I have to either include a meta-tag for an auto refresh and redirect

(it will pause, then redirect to the application), or the other way is to use a javascript to automatically redirect to the application. I'm unsure how to use meta-tag (syntax) or Javascript. Can you help me?

Here's my javascript example below for redirecting users automatically.

redirect ebt-now WebServices
<LINK href="/ebtnowb/theme/Master.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript">
// redirect to another window
var aURL =  "index.html"
function change_window(aURL) 
	window.location = aURL;

<TABLE width="700" style="font-size : x-small;font-family : Arial,sans-serif;">
  <COL span="1" width="100">
  <COL span="1">
  <COL span="1" width="100">
      <TD>ebt-now, delivers QuickWebApps integrating your programs & data for 
<SCRIPT language="JavaScript">
<CENTER><INPUT type="submit" name="ebtnowLinkB" value="ebt-now 
Quickstart WebServices HOME" style="font-size : x-small;font-family : Arial,sans-
serif;left : auto;"> </CENTER>

This was first published in June 2002

Dig deeper on Web Development

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: