jeter20131220 3 years ago
parent
commit
c85dca3c5b
1 changed files with 5 additions and 2 deletions
  1. 5 2
      ArkCard-web/goto.js

+ 5 - 2
ArkCard-web/goto.js

@@ -27,8 +27,11 @@ console.log(1);
 
 
 $(document).ready(function () {
-  var userid = location.search;
-  console.log(location.search);
+  url = location.search;
+  getSearch = url.split("?")
+ console.log(getSearch[0]);
+console.log(getSearch[1]);
+var userid=getSearch[1];
   function get_data() {
     $.ajax({
       method: "GET",