摘要:
方式一:通过设置id方式传值 <button class="btninvest" bindtap="goinvet" id="{{item.txt}}">按钮</button> 通过e.currentTarget.id;获取设置的id值,并通过设置全局对象的方式来传递数值,获取全局对象 var ap 阅读全文
摘要:
isNaN 返回一个 Boolean 值,指明提供的值是否是保留值 NaN (不是数字)。 NaN 即 Not a Number isNaN(numValue) 必选项 numvalue 参数为要检查是否为 NAN 的值。 说明 假如值是 NaN, 那么 isNaN 函数返回 true ,否则返回 阅读全文