Difference between revisions of "NationStates:Login"
From NSWiki
m (update api targets) |
Todd McCloud (Talk | contribs) |
||
Line 38: | Line 38: | ||
$("#login_error").hide(); | $("#login_error").hide(); | ||
$("#nation_enter").attr("disabled", true); | $("#nation_enter").attr("disabled", true); | ||
− | $.get("https:// | + | $.get("https://www.nationstates.net/cgi-bin/api.cgi?nation=" + encodeURIComponent($("#nation_name").val()), function(data) { |
console.log("found nation named " + $("#nation_name").val()); | console.log("found nation named " + $("#nation_name").val()); | ||
$("#nation_enter").removeAttr("disabled").hide(); | $("#nation_enter").removeAttr("disabled").hide(); |
Revision as of 00:59, 4 January 2017
Error: Invalid hash.