注册 登录 充值会员 退出
联系客服 毕业设计 java源码 PHP源码
充值

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

作者/代码整理:  (源码已亲测,不会安装的可以向QQ1915635791要安装视频教程) 发布日期:2022-10-28
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>

关注公众号,免费赠送安装视频教程、环境和学习视频,后面会不断更新。