Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

網頁上改為向下移動

2018-09-25 @ 14:09 in PHP, JavaScript, Sql

//網上找到 jquery 在網頁時,將 Enter 鍵改為 Tab 的作用
 $("input").not( $(":button") ).keypress(function (evt) {
        if (evt.keyCode == 13) {
            if ($(this).attr("type") !== 'submit'){
                var fields = $(this).parents('form:eq(0),body').find('button, input, textarea, select');
                var index = fields.index( this );
                if ( index > -1 && ( index + 1 ) < fields.length ) {
                    fields.eq( index + 1 ).focus();
                }
                $(this).blur();
                return false;
            }
        }
    });

迴響

網頁上改為向下移動 | 豬窩

I'm not sure where you are getting your info, but great topic.

I needs to spend some time learning more or understanding more.
Thanks for great information I was looking for this information for my mission. adreamoftrains web hosting sites

作者 adreamoftrains web hosting service @ 20:56, 2020-08-10

網頁上改為向下移動 | 豬窩

Hi there mates, nice article and pleasant arguments commented at this place, I am actually enjoying by these.

作者 web hosting service @ 23:55, 2020-08-10

網頁上改為向下移動 | 豬窩

I really like it when people come together and share
views. Great site, stick with it!

作者 web hosting sites @ 08:53, 2020-08-14
«上一篇   1 2 3 4
發表迴響
 authimage