Page 1 of 1

Cant open files through website

PostPosted: 26. August 2016 01:27
by ryanb
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.

Re: Cant open files through website

PostPosted: 26. August 2016 14:10
by ryanb
I figured it out. Instead of <input type=button> it should be <button type=submit>.