Belinda M. Giardine schrieb:
I have found this question in the archives and set up a test page based on the responses I have found. But for me it is not working, the section is hidden and doesn't reappear no matter what is selected. I have tried several different browsers. The real task is on a more complex page, I am just trying to get the simple test to work first.

and here the full function:

q(document).ready(function(){
  q("div.subSection").hide();
  q("option").click (function() {
    var opt = q(this).text();
    alert (opt);                   // delete this row
    if (opt == "Cookie") {
      q("div.subSection").show();
    } else {
      q("div.subSection").hide();
    }
  });
});


--
Viele Grüße, Olaf

-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------

Reply via email to