<div class="row row-no-padding "> <div class="col col-80 col-offset-9"> <div class="list list-inset bg"> <label class=" fillet item item-input"> <input id="old_password" type="password" required placeholder="password"/> <span class="ion-eye" style="font-size:20px;padding-right:10px" ng-click="changeOldpwdtype()"> </span> </label> </div> </div> </div> $scope.changeOldpwdtype = function(){ alert(11); } span 點(diǎn)擊 事件無(wú)效。。。我只是想控制 input的type來(lái)顯示、隱藏密碼
Label下的span click 無(wú)效,萌新求教
拉丁的傳說(shuō)
2019-02-09 15:15:22