我怎么能隐藏动力?

时间:2018-02-11 21:58:27

标签: javascript jquery

<div class="isd-powered-by" ng-show="showBranding">
        <a href="http://www.inksoft.com" target="_blank"><span>Powered by</span> <img ng-src="//images.inksoft.com/designer/html5/ds/images/footer-logo.png" alt="" src="//images.inksoft.com/designer/html5/ds/images/footer-logo.png"></a>
      </div>

我怎么能隐藏这个?

我在他们提供的嵌入式代码中试过这个。

<div class="isd-powered-by" ng-show="showBranding">
<label>Question? </label>
Nein
</div>

<script>
document.getElementsByClassName("isd-powered-by")[0].style.visibility = "hidden";
</script>

1 个答案:

答案 0 :(得分:0)

<style>
.isd-powered-by {
   display: none !important;
}
</style>

我也同意@Sterling,这不太好