AnsweredAssumed Answered

Select value from DD with JS

Question asked by marp on Nov 26, 2015
Latest reply on Nov 26, 2015 by marp

Unfortunately, I am not a java/vb developer. Maybe someone could be so kind and help me? I have two DD and I want to set the second one to NULL if the value of the first DD is not NULL (“Please select a value…”). How can i solve that ...with JS? I appreciate every suggestion!



What I tried …



var hwt =document.getElementById("DD_HardwareType");

var mhl =document.getElementById("DD_MonitorHelp");


if (hwt.selectedIndex != 'null') {

mhl.selectedIndex = 'null';