Create Link Button with JQuery
<p>I'd like to use JQuery to create a link button, but the code I wrote below doesn't seem to work. What is missing?</p>

<pre><code>&lt;head&gt;
        &lt;title&gt;Click Url&lt;/title&gt;
        &lt;script src="http://code.jquery.com/jquery-latest.js"     
        type="text/javascript"&gt;&lt;/script&gt;
            &lt;script type="text/javascript"&gt;
                $(function() {
                    $("#Button1").click(function() {
                        $("#an1").click();
                    });
                });
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;a href="http://google.com" id="an1"&gt;Click&lt;/a&gt;
    &lt;input id="Button1" type="button" value="button" /&gt;
&lt;/body&gt;
</code></pre>
