- 博客(2)
- 资源 (3)
- 收藏
- 关注
翻译 ie placeholder 不能用 写个jquery placeholder 插件 解决
//placeholder.js(function($){$.fn.extend({placeholder:function(){if ("placeholder" in document.createElement("input")) { return this;}else{return this.each(function(){var _this=$(this)
2012-10-31 16:25:21
603
1
原创 jquery 手机号码输入验证及提示
$(function(){$("#phonetext").focus(function(){$("#eml2").show().siblings().hide();}); $("#phonetext").blur(function(){var eml = $(this).val();var regu = /^(\d{3,4}-)?\d{7,8}(-\d{3,4})?
2012-06-17 16:02:02
1046
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人