注册 登录 充值会员 退出
毕业设计 PHP源码
充值

jQuery电脑手机端通用银行选择下拉菜单代码

作者/代码整理:  (转载请附加本文地址,带有“懒人原生”字样的谢绝转载) 发布日期:2017-08-12
jQuery电脑手机端通用银行选择下拉菜单代码
这是一款jQuery电脑手机端通用银行选择下拉菜单代码,点击弹出银行logo图片下拉列表选择银行。


js代码

<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bs.js"></script>
<script>
$(function(){

//        下拉银行卡

	$(".hotBank-list-ico").bind('click',function(){
	   $('#chose_input').val($(this).attr('title'));
		$('.bank_xl').hide();
		$("#chose_bank").parent('div').find('img').addClass('jt_xz');
	});
	$("#chose_bank").click(function(){
		$('.bank_xl').show();
		$("#chose_bank").parent('div').find('img').removeClass('jt_xz');
	});
//        下拉银行卡

})
</script>
<script>
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
	var msViewportStyle = document.createElement('style')
	msViewportStyle.appendChild(
			document.createTextNode(
					'@-ms-viewport{width:auto!important}'
			)
	)
	document.querySelector('head').appendChild(msViewportStyle)
}

</script>