1
Colleagues, I’m trying to modify the css
of a md-radio-button
via jQuery
but I’m not getting it.
<md-radio-button id="radio_letter" style="margin: 2px!important" ng-click="changeCorrectAlternative(command.key, alternative.key)" ng-repeat="alternative in command.alternative_set" ng-value="alternative.key">
<md-item style="margin:-21px;text-align:center;">
{{ ORDER_TO_LETTER[alternative.order-1] }}
</md-item>
</md-radio-button>
Jquery
jQuery(document).ready(function () {
jQuery('#radio_letter').each(function(){
$(this).css('width','21px');
$(this).css('height','21px');
});
});
Any suggestions?
You can post the Angular Controller ?
– David Schrammel
Why exactly do you need to change through
jQuery
? Can’t be done straight with a classcss
?– celsomtrindade