Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <p>The inputs behave differently when it comes to getting values
    (in Chrome and Safari). Try typing 'hey ' (with space)
    in both fields and click the button afterwards.</p>
  <input type="email" id="email-input" placeholder="type=email">
  <input type="text" id="text-input" placeholder="type=text">
  <button onClick="logValues()">Log values</button>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers