js动态绑定onclick事件

	document.getElementById("bankCode_img").onclick = function()  {
		eval("javascript:F7SelectBox('bankCode','BANK_CD','bankInfo',' ex.typ=$"+objType+"$ and ex.object_cd=$"+objCode+"$ and ex.RECORDSTATUS=$0$ and ex.ISCHECKED=$1$ ','getBankInfoByBankFileid')");
	};

参考:/MW/docroot/scripts/module/sh/dynamic/VesselsVygPay.js

你可能感兴趣的:(js,公司平台学习)