Safari onClick Alternative Using Jquery

After much research i understand that Safari isn’t able to call the onClick Event like the other browsers do. So how do i get Safari to act like the other browsers is my question? I have see no real alternative. Can any of you help? My current code is below. It works in all browsers except Safari (haven’t checked Chrome, but it should be same as Safari what i read). Thanks much.

<script language="Javascript">

	$(document).ready(function() {
			alert('its working');


a href="javascript:void(0);" class="create_project"><img src="" width="99" height="45" border="0" id="Image51" onMouseOver="MM_swapImage('Image51','','b.create.on.gif',1)" onMouseOut="MM_swapImgRestore()">

That should work fine. Since you say it doesn’t, you’re problem is likely elsewhere.

Try debugging and simplifying. You probably have some other code conflicting, or maybe an error.