overwrite the preventDefault() in another method
<p>I have a this call</p>

<pre><code>&lt;a onclick="facebookLogin();" class="facebook_btn_homepage" href="/signup"&gt;
&lt;img src="/images/facebook_btn2.png?1280194712" alt="Facebook_btn2"&gt;&lt;/a&gt;

    $('.facebook_btn_homepage').click(function(event){
        event.preventDefault();
    });
</code></pre>

<p>but in the function facebookLogin() i want to overwrite the </p>

<pre><code> function facebookLogin() {
   FB.login(function(response) {
 //i want to overwrite the preventDefault and go to another 
     //page because its trying to go to another url and the preventDefault 
     //is stopping the page from going to another url
</code></pre>
