angularjs - Access dynamicalley generated css id from the angular -


enter image description here

html (dynamically generated 1 using jquery)

<div id="undefined-sticky-wrapper" class="sticky-wrapper" style="height: 25px;"> 

above html has been generated dynamically using jquery.so tell me how can access above id using angular.b'cos need change height of above css 0px when it's loading within iframe(i know how handle iframe part).

you can target js after page has loaded. can test js console.

answer :

var obj = angular.element('#undefined-sticky-wrapper'); obj.css('csstext', 'height:0px !important;'); 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -