javascript - event relatedTarget is not working in mozila -
i not able getting relatedtarget on control blur event in mozila.
scope.blurevent = function (event) { var relatedtarget = event.relatedtarget console.log(relatedtarget) //return null };
and control
<input type="text" data-ng-model="newmodel.addressline1" data-ng-required="required && !newmodel.fulladdress" placeholder="address line 1" class="form-control addresstextbox" data-ng-blur="blurevent($event);" maxlength="{{addresslinemaxlength}}" />
it's working fin in chrome not in mozila. how should related target event in mozila??
Comments
Post a Comment