0
如何在不使用jQuery的情況下實現此功能?如何隱藏角應用程序,當JavaScript禁用?
...
<noscript>
<div style="left:0; right: 0; top: 40px; bottom: 0; position: absolute; text-align: center; vertical-align: middle">
<span class="alert alert-info">This page requires JavaScript to be enabled to work.</span>
</div>
</noscript>
...
<div id="application" style="display: none" ng-controller="MyController" >
....Application HTML...
</div>
...
<script>
$('#application').show()
</script>
你的意思是沒有JavaScript的隱藏
application
DIV?或只是jQuery的 – Ibu最好使用AngularJS風格的代碼,使用指令或其他。 –