I have the below angular link which is in an aspx page

<a ng-if="SFpage.entryPointType == 0 &amp;&amp; SFpage.hideHeader == false" ng-click="moveToHold();" id="saveProgressBtn" class="btn btn-secondary ng-binding ng-scope">Save Progress</a> 

How can I hide the above link in run time in browser? I have an option to insert code into this running aspx page but cannot access aspx page directly.

I tried using JS but it didn't work

<script type="text/javascript">

document.getElementById("saveProgressBtn").style.visibility = "hidden";

</script>

Related posts

Recent Viewed