Hi folks
I've written this little snippet to help simplify my question. Basically, on the combobox change I'm displaying the value of the selection - so 21 if I select BMW. How could I display BMW instead?
function myFunction()
{
var x = document.getElementById("myWeeCombo").value;
document.getElementById("demo").innerHTML = "You selected: " + x;
}
Sreekanth ReddyPosted Jan 21, 2019, 2:44 AM
Robbie HegartyPosted Jan 21, 2019, 6:26 AM
Sreekanth ReddyPosted Jan 21, 2019, 3:56 AM
Robbie HegartyPosted Jan 21, 2019, 3:51 AM
Sanwar RanwaPosted Jan 21, 2019, 3:38 AM