Read pipe values in dropdown using Javascript
-
Hi.
I can retrieve a value of dropdown selected item with this code:var cat1=document.getElementById(“my-dropdown”).options[document.getElementById(“my-dropdown”).selectedIndex].value;
but if I use pipes, I can’t retrieve pipe value of selected item.
Is it possible to do that?
- The topic ‘Read pipe values in dropdown using Javascript’ is closed to new replies.