意见反馈|博客导航
$(function(){
$("#search").val('搜索,就是这么简单').css('color','#6d6d6d');
$("#search").focusin(function(){
if($('#search').val() =='搜索,就是这么简单'){
$('#search').val('').css('color','#000');
}
}).focusout(function(){
if($('#search').val() ==''){
$('#search').val('搜索,就是这么简单').css('color','#6d6d6d');
}
});
$(".foot a").each(function(){$(this).css("color","#676767")}).hover(function(){
$(this).animate({style:"color:#000000"})
},function(){
$(this).animate({style:"color:#676767"})
});
$(".registerform").Validform({
tiptype:2,
datatype:{
"url" : /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i,
},
});
});
一键复制
编辑
Web IDE
原始数据
按行查看
历史