.click(); working in ie but not firefox

.click(); working in ie but not firefox

Hi, I'm a little new to this, so it may be a stupid question, but here goes...

I had a developer make a modifacation to a page where a button is automatically clicked when a customer hits the page. He did this, and it works fine in ie, but not in firefox, and I wont be able to get hold of him until next week, so was hoping someone on here may have some suggestions??

The code he used is...

<script type="text/javascript" src="Scripts\jquery-1.3.2.min.js"></script>

<script type="text/javascript">

$(document).ready(function() {
    $('#----relevant link here----').click();
});

</script>

Thanks