<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.2.js'></script>
<script type='text/javascript'>
$(function(){
$('.close').click(function() {
$('.alert-message').hide('slow');
});
});
</script>
</head>
<body>
<div class="alert-message success">
<a class="close" style="">×</a>
<p>this is a message.</p>
</div>
</body>
</html>