jQuery手机端个人信息填写表单页面代码

jQuery手机端个人信息填写表单页面代码-精品资源网
jQuery手机端个人信息填写表单页面代码
此内容为免费资源,请登录后查看
0
免费资源

jQuery手机端个人信息填写表单页面代码

一款简洁美观的jQuery手机端个人信息填写表单页面代码,用户个人资料完善表单代码下载。

js代码

<script>

	$(\'[name=\"nice-select\"]\').click(function(e){

		$(\'[name=\"nice-select\"]\').find(\'ul\').hide();

		$(this).find(\'ul\').show();

		e.stopPropagation();

	});

	$(\'[name=\"nice-select\"] li\').hover(function(e){

		$(this).toggleClass(\'on\');

		e.stopPropagation();

	});

	$(\'[name=\"nice-select\"] li\').click(function(e){

		var val = $(this).text();

		$(this).parents(\'[name=\"nice-select\"]\').find(\'input\').val(val);

		$(\'[name=\"nice-select\"] ul\').hide();

		e.stopPropagation();

	});

	$(document).click(function(){

		$(\'[name=\"nice-select\"] ul\').hide();

	});

</script>

© 版权声明
THE END
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容