Вопрос по displayhttp://softtime.ru/forumВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post394214 "html" "head" "script" function f1(x1) { if(x1.selectedIndex == 1 || x1.selectedIndex == 2) { document.getElementById('second').style.display = 'inline';//или block }...Вопрос по displayTue, 18 Aug 2009 00:51:25 +0300LelikВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post394180А почему не работает такой вариант: "html" "head" "script" function f1(x1) { if(x1.selectedIndex == 1 || x1.selectedIndex == 2) {...Вопрос по displayMon, 17 Aug 2009 17:58:22 +0300MookapekВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post393799А вы не могли бы объяснить, как работает эта строчка кода: with (this) document.getElementById ('second').style.display = (selectedIndex && selectedIndex "...Вопрос по displayFri, 14 Aug 2009 15:25:06 +0300MookapekВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post393661как-то так function YoDude() { var oFirst = document.getElementById('first'); var oSecond = document.getElementById('second'); if(oFirst .selectedIndex == 0) { oSecond.selectedIndex...Вопрос по displayThu, 13 Aug 2009 20:43:08 +0300LelikВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post393660"select id="first" onchange="with (this) document.getElementById ('second').style.display = (selectedIndex && selectedIndex " 3) ? '' : 'none'"" "option""/option" "option"Пункт1"/option" "option"Пункт2"/option" "option"Пункт3"/option"...Вопрос по displayThu, 13 Aug 2009 20:39:59 +0300PATВопрос по displayhttp://softtime.ru/forum/read.php?id_forum=4&id_theme=67305#post393654Здравствуйте. Есть два поля типа селект: "select id="first"" "option""/option" "option"Пункт1"/option" "option"Пункт2"/option" "option"Пункт3"/option" "/select" "select id="second"" "option""/option" "option"Пункт"/option" "/select" Надо сделать...Вопрос по displayThu, 13 Aug 2009 19:45:05 +0300Mookapek