摘要:
1 var CHelper={ 2 ClrKey:function(selector,key){ 3 $(selector).focus(function(){ 4 if($.trim($(this).val())==key){$(this).val("");} 5 $(this).css("color","#000000"); 6 }); 7 8 $(selector).blur(function(){ 9 var v=$.trim($(this).val())... 阅读全文