Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Form Submit: Internet Explorer behaving badly

I just want to make a micro blog here. Just a tiny lil blog.

Internet Explorer Does Not Submit Form on Enter

Correct! Instead, I load my page with this jquery

1
2
3
4
5
6
    $('input').keydown(function(e){
        if (e.keyCode == 13) {
            $(this).parents('form').submit();
            return false;
        }
    });

Button Element Not Submitting in Internet Explorer

Correct! Mainly because I was lazy.

But in FireFox

This entry was posted in html, javascript, jquery and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>