|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
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"
__________________
Scripting problems? Windows questions? Ask the Windows Guru! Stay up to date with all of my latest content. Follow me on Twitter! Help us help you! Post your exact error message with these easy tips! |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Localhost questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|