Question by zed: Cannot figure out where i am going wrong?
DATA SORTER

DATA SORTER

Type you data in this way”23 1 56 78 23 90 1 8 6
4″ then press sort numerically

function sortit(a,b){
return(a-b)
}
function sortvalue(param){
if
window.print||(document.images&&!document.all)){
var inputvalues=document.sorter.sorter2.value.split(“”)
if (param==0)
inputvalues.sort()

else

inputvalues.sort(sortit)
document.sorter.sorter2.value=”
for (i=0;i


Best answer:

Answer by Theo
Hi
As you can see the lines in your post are shortened.
The problem is not clear. Please repost it with shorter lines.
Hope to be able to solve the problem.
Regards,
Theo

What do you think? Answer below!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.