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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -