I am working on a somewhat lengthy program. The program works almost perfectly, except for one thing: when I press the Enter key while I am clicked in the text box, it automatically clears the box and appends the data to the URL, like with a GET request. I simplified this program greatly to give this:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Simple Version</title>
</head>
<body>
<form>
<input type="text" name="password"/>
</form>
</body>
</html>
This happens on the two Windows 7 machines I tried, in Chrome, IE, and Firefox.
I would appreciate it if someone explained a way to prevent this.