This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".call-to-action").live("click",function(e){ | |
try{ | |
register_user_modal($(this).attr("href")); | |
} catch(err){alert(err);} | |
e.preventDefault(); | |
return false; | |
}); | |
function register_user_modal(target_link){ | |
alert("wtf1"); | |
var options = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".call-to-action").live("click",function(e){ | |
register_user_modal($(this).attr("href")); | |
e.preventDefault(); | |
return false; | |
}); | |
function register_user_modal(target_link){ | |
var options = { | |
open:function(){ | |
$.get(target_link,{}, | |
function(r){ |