Hmm,if I have tried out your code snippet. But I am trying to get the
form field values now so I can make eval()-statement of the condition
where from the value is then use to do the hide/show-bit.

Only I am have trouble to get the form field value of my project. I am
using the following code:

$("#question_2").change(function() {
  var item = $("question_2");
  var itemValue = item.val();
  alert("itemValue=" + itemValue + " >" + item );
});

The question_2 is here a combobox (select) only I am getting undefined
for the itemValue. I would expect it would be the value of the
selected option of the combobox.

Do I need to solve this somehow differently?

Yours,
Weyert de Boer

Reply via email to