You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
フォームで利用するjQueryのスニペット コードをいくつか。どれも既出だと思う のでおさらいという事で。とはいえ、所詮 はスニペットですので実際に導入する際 は動作をしっかりと検証する事を強く 推奨します。 フォーム周りのjQueryスニペットです。自分用のメモも兼ねて。 フォーム関係は色々面倒なので参考にならない事もあるかと思います。「ふーん」程度にご覧頂くと丁度いいと思います。 Placeholder属性を、非対応ブラウザでは表示/非表示に 便利なHTML5のPlaceholder属性をオールドブラウザでは表示/非表示として対応します。 if(!$.support.placeholder) { var active = document.activeElement; $(':text').focus(function () { if ($(this).attr('placeholde
ASCII.jp:jQueryによるフォームのデザインの基礎(前編)|Web制作の現場で使えるjQuery UIデザイン入門 上記リンクを参考に実際に書いてみた。 focus()命令とblur()命令で、フォーカスされた時/外れた時の挙動を制御できます。 以下はフォーカスされたテキストフィールドの文字を消して背景の色を変えます。 フォーカスが外れると背景色は元に戻ります。 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(function(){ $("#focus input").focus(function(){ $(this).css("backgroundC
jQuery Faviconize Un plugin jQuery pour afficher les favicons des sites externes. Inspiré de Hyperlink Cues with Favicons de Ask the CSS Guy. Téléchargements Source non compressée (1,47 ko) Source compressée (0,8 ko) Image pour source externe (16×16 px, 0.3 ko) Auteur Samuel Le Morvan (Contact) Version 1.0 Dernière Mise à jour 4 Mars 2008 Infos Exemples Historique de version Exemples Exemple №1 $
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く