コンテンツへスキップ
WebTecNote
気ままに綴る独学メモ帳
●About
●Contact
●Downloads
[js] スマートフォンのAjax フォーム送信時にキーボードを消す
byTenderfeel
Goボタンを押した時のイベントは
submit
もしくは
event.keyCode
のcode=13
で取れますが、
テキストフィールドやテキストエリアに入力後、スマホのキーボードでGoボタンを押した時、onsubmit
をキャンセルしていたりするとキーボードが隠れないので、
キーボードが表示された要素からblur()
でフォーカスを外す必要があります。
フォーム内に送信ボタンがあるならボタンにフォーカス移すのが手っ取り早い。
シェア
●シェア
クリックして Tumblr で共有 (新しいウィンドウで開きます)
クリックして Pocket でシェア (新しいウィンドウで開きます)
クリックして LinkedIn で共有 (新しいウィンドウで開きます)
クリックして Pinterest で共有 (新しいウィンドウで開きます)
クリックして WhatsApp で共有 (新しいウィンドウで開きます)
クリックして Telegram で共有 (新しいウィンドウで開きます)
クリックして友達にメールでリンクを送信 (新しいウィンドウで開きます)
関連
droid、iphone、jQuery
Aptana Studio 3のこと︵その2‥使い方等︶
[html5] Android 4.0 で HTML5 Test
このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください。
●
Twitter
●CSS (64)
●Compass (3)
●Sass (2)
●Custom (8)
●Dojo (1)
●Go(2)
●GoogleMap (23)
●HTML&XHTML (15)
●HTML5 (3)
●Information (19)
●Javascript (103)
●Firebase (9)
●Gatsby (3)
●Vue&Nuxt (19)
●jQuery (10)
●Material (9)
●Memo (90)
●MooTools (62)
●Tutorial (6)
●Perl (1)
●PHP (37)
●CakePHP (2)
●OOPでBBS (7)
●Zend Framework (4)
●Template (29)
●4BOX (8)
●5BOX (5)
●6BOX (4)
●Form (5)
●Menu (1)
●Web Site (6)
●wordpress (72)
●plugin (9)
●Reference (7)
●Themes Making (3)
●
Astro.js で PDF.js を利用する
●
Go言語入門メモ② スクレイピングを試す
●
Go言語入門メモ①
●
NTT東の光ネクスト ギガマンション・スマートタイプから光クロスに乗り換えた話
●
[Vue] vue-jest が発する Requires Babel “^7.0.0-0”, but was loaded with “6.26.3” の解決
●[WP]メルマガ・メール購読プラグイン比較まとめ に より
●Go言語入門メモ① に より
●[WP]メルマガ・メール購読プラグイン比較まとめ に より
●[WordPress] pre_get_postsでカスタムフィールドの値を利用した表示の制御 に より
●[WP]メルマガ・メール購読プラグイン比較まとめ に より
1Column
2column
Ajax
Android
Aptana
Class
CodeSandbox
CSS
CSS3
Demo
Download
Dreamweaver
Elastic
Firebase
FirebaseAuthentication
Fixed
Form
free script
Fx.Tween
Google
GoogleMap
HTML5
HTML5API
IE
infowindow
iphone
JavaScript
jQuery
MooTools
Nuxt
OOP
PHP
Regular Expression
rollover
Sass
Template
Vue
Web Browser
wordpress
wp-custom
wp-function
wp-plugin
wp-themes
XHTML
zeromail
●2023年12月
●2023年1月
●2022年12月
●2022年10月
●2022年7月
●2022年6月
●2022年2月
●2022年1月
●2021年11月
●2021年10月
●2021年9月
●2021年8月
●2021年6月
●2021年5月
●2021年4月
●2020年7月
●2020年6月
●2020年3月
●2020年2月
●2019年12月
●2019年11月
●2019年10月
●2019年9月
●2019年8月
●2019年7月
●2019年6月
●2019年5月
●2019年4月
●2019年3月
●2019年2月
●2019年1月
●2018年11月
●2018年10月
●2018年9月
●2018年8月
●2018年7月
●2018年6月
●2018年5月
●2018年3月
●2018年2月
●2017年9月
●2017年7月
●2017年6月
●2017年4月
●2017年2月
●2017年1月
●2016年9月
●2016年8月
●2016年7月
●2016年2月
●2016年1月
●2015年8月
●2014年10月
●2014年9月
●2014年8月
●2014年7月
●2013年12月
●2013年8月
●2013年4月
●2013年3月
●2013年2月
●2013年1月
●2012年12月
●2012年10月
●2012年9月
●2012年8月
●2012年7月
●2012年5月
●2012年4月
●2012年3月
●2012年2月
●2012年1月
●2011年12月
●2011年10月
●2011年9月
●2011年8月
●2011年6月
●2011年5月
●2011年4月
●2011年3月
●2011年2月
●2011年1月
●2010年12月
●2010年11月
●2010年10月
●2010年9月
●2010年8月
●2010年7月
●2010年6月
●2010年5月
●2010年4月
●2010年3月
●2010年2月
●2010年1月
●2009年12月
●2009年11月
●2009年10月
●2009年9月
●2009年8月
●2009年7月
●2009年6月
●2009年5月
●2009年4月
●2009年3月
●2009年2月
●2009年1月
●2008年12月
●2008年11月
●2008年10月
●2008年9月
●2008年8月
●2008年7月
●2008年6月
●2008年5月
●2008年4月
●2008年3月
●2008年2月
●2008年1月
●2007年11月
●2007年10月
●RSS - 投稿
●RSS - コメント
© 2024 WebTecNote • Built with GeneratePress