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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

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