Check if the testFireFox() is inside $(document).ready(...)
because the below code works fine
<a href="#" onclick="testFireFox()">Some Text...</a>
<script type="text/javascript">
function testFireFox() {
alert('sdas');
}
</script>
But If you load the testFireFox() after DOM is ready it isn't working
<a href="#" onclick="testFireFox()">Some Text...</a>
<script type="text/javascript">
$(function ($) {
function testFireFox() {
alert('sdas');
}
});
</script>