I am one of those old school dinosaur types that has been around since the great depression and to be perfectly honest with you I am very comfortable with JavaScript and do not revert to plug-ins such as jQuery when I can get the same job done with pure clean JavaScript, but when I am trying to capture values from select options lists I used to use
var varName= document.formNa me.selectName.o ptions[selectName.sele ctedIndex].value
I LIKE THIS OLD FASHION WAY BECAUSE IT IS CLEAN AND EASY TO UNDERSTAND and even though I do use jQuery when I have no better choices the truth I find is that the additional lines of code that jQuery saves me isn't enough to be significant, and I am not a lazy coder...
But I am finding that doesn't work any more and now I am finding it more and more difficult to do the kind of coding I am used to, so any help would be very much appreciated???
I have to be leaving something out, I am sure the problem is with syntax but I haven't found it yet, and the same code seems to work on older web pages just fine.
By the way I am using windows 10/64
var varName= document.formNa me.selectName.o ptions[selectName.sele ctedIndex].value
I LIKE THIS OLD FASHION WAY BECAUSE IT IS CLEAN AND EASY TO UNDERSTAND and even though I do use jQuery when I have no better choices the truth I find is that the additional lines of code that jQuery saves me isn't enough to be significant, and I am not a lazy coder...
But I am finding that doesn't work any more and now I am finding it more and more difficult to do the kind of coding I am used to, so any help would be very much appreciated???
I have to be leaving something out, I am sure the problem is with syntax but I haven't found it yet, and the same code seems to work on older web pages just fine.
By the way I am using windows 10/64
Comment