Saturday, March 18, 2017

get the new list test 1

get the old list    get the new list
paste in the old list and click get the old list to load it, then paste in the new list and click get the new list
*

<div id="sns20170318sa1022o" style="color:goldenrod;font-size:1.5em"></div>

<textarea id="sns20170318sa1022i"></textarea>

<a href="javascript:sns20170318sa1022('get the old list')" style="color:greenyellow;font-size:1.5em">get the old list</a>&nbsp;&nbsp;&nbsp;

<a href="javascript:sns20170318sa1022('get the new list')" style="color:greenyellow;font-size:1.5em">get the new list</a>

<div style="color:burlywood;font-size:.75em">paste in the old list and click get the old list to load it, then paste in the new list and click get the new list</div>

<div id="sns20170318sa1022n" style="color:violet;font-size:1.5em"></div>

<script>

function sns20170318sa1022(therequest) {
var thenewlistdisplay = document.getElementById("sns20170318sa1022n")

function gettheoldlist() {
var theoldlist = document.getElementById("sns20170318sa1022i")
var theoldliststore = document.getElementById("sns20170318sa1022o")
theoldliststore.innerHTML = theoldlist.value}

if (therequest === "get the old list") {gettheoldlist()}

} // sns20170318sa1022


</script>

*

No comments:

Post a Comment