<
script type
=
"
text/javascript
"
>
function hiddensel(){
var objForm
=
document.getElementById(
"
queryForm
"
);
var objLen
=
objForm.length;
for
(var elcount
=
0
; elcount
<
objLen; elcount
++
)
{
if
(objForm.elements[elcount].type
==
"
select-one
"
)
{
objForm.elements[elcount].style.display
=
"
none
"
;
}
}
}
function showsel(){
var objForm
=
document.getElementById(
"
queryForm
"
);
var objLen
=
objForm.length;
for
(var elcount
=
0
; elcount
<
objLen; elcount
++
)
{
if
(objForm.elements[elcount].type
==
"
select-one
"
)
{
objForm.elements[elcount].style.display
=
""
;
}
}
}
</
script
>
posted on 2006-09-29 09:39
Java初心 阅读(713)
评论(0) 编辑 收藏 所属分类:
javascript