<object classid="clsid:F1317711-6BDE-4658-ABAA-39E31D3704D3" codebase="SDRdCard.cab#version=1,3,6,1" width="0" height="0" align="left" hspace="0" vspace="0" id="idcard" name="rdcard"> </object> <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0"> <embed id="LODOP_EM" type="application/x-PRint-lodop" width="0" height="0"></embed> <param name="CompanyName" value="xxxx有限公司"></object>
function funContacts() {
var returnValue; returnValue = rdcard.readcard(); if (returnValue != 0) { alert("身份证读取失败,请检查!"); return; } if (returnValue == 0) { //姓名 var nametmp = $.trim(rdcard.NameL); $("#txtBuyer").val(nametmp); //地址 var addresstmp = $.trim(rdcard.Address); $("#txtBuyerAddress").val(addresstmp); //身份证号 var IDNtmp = $.trim(rdcard.CardNo); $("#txtBuyerIDCard").val(IDNtmp); //性别 var sextmp = $.trim(rdcard.Sex); if (sextmp == "1") { $("#ddlBuyerSex option[value='7e496680-c4a7-4525-8274-5d8cf0e37740']").attr("selected", true); } else if (sextmp == "2") { $("#ddlBuyerSex option[value='23c9fcd6-6151-42f9-8d00-85081e534420']").attr("selected", true); } } }新闻热点
疑难解答