Difference between revisions of "Team:Jilin China/Enc/CodeLab"

Line 2: Line 2:
 
<script>
 
<script>
 
$(document).ready(function(){
 
$(document).ready(function(){
  var username = "Not Found";
+
  var usa = "Not Found";
  username = $("#user_item").text();
+
  usa = $("#user_item").contents().filter(function() { return this.nodeType === 3; }).text();  
 
  alert(username);
 
  alert(username);
 
});
 
});
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 05:40, 1 September 2018