标签:OLE input readonly ons 事件 only code ado value
{volist name="dianpu" id="dianpu"} <input style="border: none;" readonly name="guanzhu" data_value="{$dianpu.is_guanzhu}" data_zhi="{$dianpu.shopId}" value="{$dianpu.shopId}{$dianpu.is_guanzhu}"/> {/volist}
$(‘input[name="guanzhu"]‘).click(function () { var is_guanzhu = $(this).attr(‘data_value‘); var shopId = $(this).attr(‘data_zhi‘); console,log(is_guanzhu) ;
console,log(shopId) ;
})
标签:OLE input readonly ons 事件 only code ado value
原文地址:https://www.cnblogs.com/shark1100913/p/9159461.html