|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Localhost questions
Hi all,
I have 2 test pages. test1.html and test2.html in the same folder.Test1 page navigate to test2 page via a form: function Checkit() { ... document.getElementById("myForm").submit() } .... <body > <div id="123" > <form id="myForm" method="post" target="_parent" action="Test2.html" onsubmit="Checkit()"> ...... <input id="btnUpload" type="submit" value="Load it" /> </form> </div> ...... Problem: I keep getting "The page you are looking for cannot be displayed because the page address is incorrect. " on test2.html page. I checked the url address and it is exactly the same as the test1.page but If I copy the url (of test2.html) page and paste in a new browser....it works..fine... I did try to replace localhost with 127.0.01 and the problem still remains. Does IIS, Localhost has anything to do with this? and how do I solve the problem. Thanks |
|
#2
|
||||
|
||||
|
Try this...
action="./Test2.html"
__________________
Click the image if at any point you don't like my decision.Ask the Windows Guru! |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Localhost questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|