|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
histry.back in js
PHP Code:
The above code is telling the user's pressing and then go to previous page What if pressing it will re-direct to another new page say index.htm and not the previous one Thanks for any teaching and I know nothing of js.. |
|
#2
|
|||
|
|||
|
i guess u better post that to the
html/javascript forum cause js has almost nothing to do with java servlets, jsp... cheers, jens |
|
#3
|
|||
|
|||
|
If I'm understanding you correctly, this is one way of redirecting a user with javascript
Code:
<html><head>
<script Language="JavaScript">
<!--
alert("please re-enter");
location.href='index.html';
//-->
</script></head></html>
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > histry.back in js |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|