我無法使用javascript顯示div。Javascript not div div
<div class=" notification success">
<a href="#" class="close-notification" title="Hide Notification" rel="tooltip">x</a>
<p>An email has been sent confirming your identity.</p></div>
<script type="text/javascript">
var notification = '.notification';
$(notification).show();
</script>
</div>
任何想法?
適用於我:http://jsfiddle.net/YBkqg/ – Oded