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

Line 5: Line 5:
 
  var usa = "Not Found";
 
  var usa = "Not Found";
 
  usa = $("#user_item").contents().filter(function() { return this.nodeType === 3; }).text();  
 
  usa = $("#user_item").contents().filter(function() { return this.nodeType === 3; }).text();  
  a.innerHTML = usa;
+
  $("#a").innerHTML = usa;
 
});
 
});
 
</script>
 
</script>
 
<p id="a" style="font-size: 3rem; color: black !important;">Text box is blank!</p>
 
<p id="a" style="font-size: 3rem; color: black !important;">Text box is blank!</p>
 
</html>
 
</html>

Revision as of 05:49, 1 September 2018

Text box is blank!