網頁上改為向下移動
//網上找到 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;
}
}
});
迴響
網頁上改為向下移動 | 豬窩
It's a shame you don't have a donate button! I'd definitely donate to this superb blog!
I suppose for now i'll settle for bookmarking and adding your RSS feed
to my Google account. I look forward to fresh updates and will talk about this blog with
my Facebook group. Chat soon!
網頁上改為向下移動 | 豬窩
Pretty! This was a really wonderful post. Thanks for supplying this
information.
網頁上改為向下移動 | 豬窩
Hello my loved one! I wish to say that this article is amazing, nice written and come with approximately all significant infos.
I would like to look more posts like this .
網頁上改為向下移動 | 豬窩
Good day! Would you mind if I share your blog with my twitter group?
There's a lot of folks that I think would really appreciate your
content. Please let me know. Many thanks
網頁上改為向下移動 | 豬窩
I've learn a few good stuff here. Definitely worth bookmarking for revisiting.
I wonder how much attempt you set to create the sort of wonderful informative site.