Tuesday, February 28, 2017
sorting from an unsorted list
function sortastock() {
document.getElementById("sns_therecord").style.display = "none"
var theunsortedlist = document.getElementById("sns_theunsortedlist")
var thesortedlist = document.getElementById("sns_thesortedlist")
var thesorter = document.getElementById("sns_sorter")
var updaterstate = document.getElementById("sns_updaterstate")
var theflink = document.getElementById("sns_theflink")
var themlink = document.getElementById("sns_themlink")
var thesymbol = findthestock(theunsortedlist,thesortedlist)
thesorter.src = updatethesorter(updaterstate.innerHTML,thesymbol)
theflink.href = "http://elite.finviz.com/quote.ashx?t=" + thesymbol
themlink.href = "http://www.marketwatch.com/investing/stock/" + thesymbol}
function sortthisstock() {
var thisstock = document.getElementById("sns_input").value
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment