Cant open files through website

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cant open files through website

Postby ryanb » 26. August 2016 01:27

I have started to create a website but I cannot open documents through the website.

This is what I am using:
Code: Select all
<form action="test.html">
<input type=button name=test value=TEST></input>
</form>


It is supposed to take you to the page "test.html" but absolutely nothing happens when I click the button, not even an error message.
Both files (index.html and test.html) are in the htdocs folder.
ryanb
 
Posts: 2
Joined: 26. August 2016 01:20
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Cant open files through website

Postby ryanb » 26. August 2016 14:10

I figured it out. Instead of <input type=button> it should be <button type=submit>.
ryanb
 
Posts: 2
Joined: 26. August 2016 01:20
XAMPP version: 3.2.2
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests