js 控制div显示
<script language="javascript" type="text/javascript"> function ShowSearch1() { document.getElementById('Search1').style.display ="none"; document.getElementById('Search2').style.display ="block"; document.getElementById('Link1').style.color ="#BFBEBE"; document.getElementById('Link2').style.color ="#990099"; document.getElementById('TxtShowSearch').style.value ="1"; }
function ShowSearch2() { document.getElementById('Search1').style.display ="block"; document.getElementById('Search2').style.display ="none"; document.getElementById('Link1').style.color ="#990099"; document.getElementById('Link2').style.color ="#BFBEBE"; document.getElementById('TxtShowSearch').style.value ="2"; } </script>