Problem with onload click the anchor tag using jquery or java script.

Problem with onload click the anchor tag using jquery or java script.

Hi friends i am try many ways to onloading the page click the anchor tag using jquery or java script.

must see the rel attribute .

<div id="local">
                    <a id="fmp-button" href="#" rel="http://google.com">
                        click
                    </a>
                </div>
<script>
//$('#fmp-button').trigger('click');

//$("a[href='#']").click();

//$('#fmp-button').click();

//$('#fmp-button')[0].click();

//$(function(){
//    window.location.href = $('#fmp-button').attr('href');
//});

</script>


I am tried all the ways
Any one help me how to click the anchor tag when time of page loading anchor tag must be rel attribute