I'm trying to ask a new question in stack-overflow through the Opera browser installed on my ubuntu 10.10. But I'm not able to press the submit button Opera. Everything works fine with firefox and IE browsers.


Taking a look, there was some Opera-specific code in the tag plugin that suppressed submission when you press enter

// prevent form submit in opera when selecting with return key
$.browser.opera && $(input.form).bind("submit.autocomplete", function() {
    if (blockSubmit) {
        blockSubmit = false;
        return false;

Apparently newer versions of Opera handle this differently.

I removed the opera "fix" but there is a side-effect; pressing enter will submit the form in most cases (unlike all other browsers). You will need to select autocomplete tags using your mouse and not the keyboard. Well, technically you can use tab then shift+tab but that's a bit of a workaround.

Shrug. Such is the delightful, delightful world of Opera.

alt text

  • The only response ever I've received from Opera's officials was a threat to physically punch me in the face. I'm not even lying. – Esko Nov 7 '10 at 9:21
  • 3
    @esko see twitter.com/#!/codinghorror/status/3290996474 Opera is like the honors student who occasionally snaps and goes on a random killing spree. I'll take IE6 "special needs" over that any day – Jeff Atwood Nov 7 '10 at 9:41
  • 1
    ...as opposed to virtually punched in the face? – Phil.Wheeler Nov 7 '10 at 10:01
  • Ah, this is the old cancelling keydown doesn't cancel keypress bug… If you just change the autocomplete to bind to keypress, it should work in Opera. – gsnedders Nov 13 '10 at 17:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .