I want to hide this warning div using javascript inside it.
I'm i getting the javascript right? I want to hide/close the div when i click on the close icon (images/close_icon.gif)
<div>
<strong>Warning:</strong>
These are new products
<a href='#' class='close_notification' title='Click to Close'>
<img src="images/close_icon.gif" width="6" height="6" alt="Close" onClick="this.close" />
</a
</div>