<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 点击 事件无效。。。我只是想控制 input的type来显示、隐藏密码
相关分类