2009-11-13から1日間の記事一覧
jQueryのバージョンは1.3.2。 $(function(){ $('input[type$="text"]').each(function(){ // type属性がtextのものを取得 $(this).focus(function() { $(this).attr('value',''); }); }); });
jQueryのバージョンは1.3.2。 $(function(){ $('input[type$="text"]').each(function(){ // type属性がtextのものを取得 $(this).focus(function() { $(this).attr('value',''); }); }); });