2013-07-31から1日間の記事一覧
汚いやり方です。 HTML5のinput type="tel" に一時的にタグを書き換えます。。。。 $(function() { $('input.alphanumeric').on({ 'focus': function(){ $(this).attr('type', 'tel'); }, 'blur': function(){ $(this).attr('type', 'text'); } }); }); 半角…
汚いやり方です。 HTML5のinput type="tel" に一時的にタグを書き換えます。。。。 $(function() { $('input.alphanumeric').on({ 'focus': function(){ $(this).attr('type', 'tel'); }, 'blur': function(){ $(this).attr('type', 'text'); } }); }); 半角…