I’ve been using Twitter Bootstrap to build a site, and a lot of its functionality depends on wrapping things in <a>, even if they’re just going to execute Javascript....
I have one text input and one button (see below). How can I use JavaScript to trigger the button’s click event when the Enter key is pressed inside the...