获取layer 中content元素节点
layer.open({ title:'序号越小越靠前', content:'<input type="text" class="sortVal">', yes:function(index,layero){ var sort = layero.find('.sortVal').val(); alert(sort); } });
layer.open({ title:'序号越小越靠前', content:'<input type="text" class="sortVal">', yes:function(index,layero){ var sort = layero.find('.sortVal').val(); alert(sort); } });
评论
评论列表
暂无评论,快来抢沙发吧~