java-script,jsp

java-script,jsp

how can i shift to other page when my timer shows t<=0 .i.e timeout?
View Answers

April 29, 2010 at 11:42 AM

Hi Friend,

Try the following code:

timer.jsp:

<script language="JavaScript">
var time = null
function go() {
window.location = 'form.jsp'
}
</script>
<body onload="timer=setTimeout('go()',2000)">
</body>

Thanks









Related Tutorials/Questions & Answers:
java script - JSP-Servlet
java script  what is the use of hidden fields in java script? if a page has 3 links the first link should be enabled and others should be disabled. once the form inside the first link is filled and submitted the next link should
Java Script - JSP-Servlet
Java Script  hi, im having a problem in updating the cart. below is the code for that. what i want is i need to enter the how much quantity by entering in the textbox and when i click on the update cart i need to display
Advertisements
Java Script - JSP-Servlet
Java Script  I can't find any tutorial on JavaScript. Please help me out  Hi Friend, Please visit the following link: http://www.roseindia.net/javascript/ Thanks  Hi Friend, Go to this link here you
java script - JSP-Servlet
java script add items  How to add items in an array in JavaScript... in javascript</title><script type="text/javascript" src="mtmcode.js"></script><script type="text/javascript">
java script - JSP-Servlet
java script  How to open a form while clicking a image button?  Hi Friend, You can use the following codes: 1) 'ImageButton.html' Click the Image Button 2) 'form.html' Form First Name
java script - JSP-Servlet
java script  hello buddy......i m new to here....please help me to solve my problem i have a jsp page with pre populated value comming from other jsp.....ones i submitted i have to clear that page and i have to submite
java script - JSP-Interview Questions
java script  i want that my registration page shud be get poped up when i will clik a on a link on my login page....how can i do it using java script or i shuld use html
java-script,jsp - JSP-Servlet
java-script,jsp   how can i shift to other page when my timer shows t<=0 .i.e timeout?   Hi Friend, Try the following code: timer.jsp: var time = null function go() { window.location = 'form.jsp
multiple browsers in java script - JSP-Servlet
multiple browsers in java script  How to make my jsp browser specific?  Hi friend, For solving the problem visit to : http://www.roseindia.net/jsp/simple-jsp-example/JSPPlugins.shtml Thanks
How to use email validation check through java script in jsp page
How to use email validation check through java script in jsp page...; This is detailed java code that explains how to use java script validator in jsp page...;Javascript"> /* This is code to check valid email using java script. */ function
how to get javascript variables into jsp - JSP-Servlet
how to get javascript variables into jsp  How to pass variables from java script into jsp page  Hi Friend, Try it: 1)pass.jsp: var msg="Hello World" window.location.href="show.jsp?value=" + msg
populate dropdown box
populate dropdown box  hi, Is there any ways in which i can populate my dropdown menu with values from 1 to n (n = the value stored in database)using java script or jsp, either is fine? Ex: If value corresponding to selected
GIS Programmer
in ArcGIS server, Mapguide, Java Script, JSP Should have good communication... Description: Develop portal based web application using Java Develop tools using JSP, Arcobject & Mapobject
Sitemap JSP Tutorial Section
| email validation check through java script in jsp | Create and use Custom error... Javascript in JSP | Java bean example in JSP | JSP bean get property... Bean with script let in JSP | JSP Window. Open | JSP Write XML | JSP User
JSP Tutorials - Page2
This section shows you how to import a java package or the class in your jsp... how to construct a Java object from an XML document.    JSP... We can use all of the JSP coding while using Java Beans in a JSP page

Ads