Created
October 30, 2017 07:45
-
-
Save greeneggsandmushrooms/a087fd77f505e273dc6c3b3c1b8efc52 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/codeluj
This file contains 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
<h1 id = "h1Id">Title</h1> | |
<p id = "pId">Paragraph</p> | |
<input id = "inputId"> | |
<button onclick="aButton()">Button</button> | |
<script id="jsbin-javascript"> | |
//alert("pop"); | |
function aButton(){ | |
var clickAButton = document.getElementById("inputId").value; | |
document.getElementById("pId").innerHTML = clickAButton; | |
} | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">//alert("pop"); | |
function aButton(){ | |
var clickAButton = document.getElementById("inputId").value; | |
document.getElementById("pId").innerHTML = clickAButton; | |
}</script> |
This file contains 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
//alert("pop"); | |
function aButton(){ | |
var clickAButton = document.getElementById("inputId").value; | |
document.getElementById("pId").innerHTML = clickAButton; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment