jquery - How to use HTML property "readyState" going to angularjs Controller -


hello guys basic question. want evalute objects status using readystate property seems theres problem on codes below

html code:

<object id="mypdf" type="aplication/pdf" data="{{xample.pdf}}"></div> 

controller code:

  var x = angular.element(document.getelementbyid('mypdf');   var status = x.readystate;    console.debug(status); 

but consolde.debug returns "undifined" status. seems wrong? thank you


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -