Flashing text safari bug

Hi - I found a cool piece of jquery code that allows for flashing text.

<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
<div id="msg" style="color: #000;">flashing text</div>
<script type="text/javascript" />
function blink(selector){
$(selector).fadeOut('slow', function(){
	$(this).fadeIn('slow', function(){


It works in IE7, IE8, IE9, Chrome and FireFox - but the issue I am having is it does not work in Safari.

All it does is just show the javascript code as text within Safari.

If anyone has any insight on this that would be much appreciated.



<script type=“text/javascript” />

Notice / before >

Duhh - haha thanks dude.

Good spot :slight_smile: