Arkadaşlar merhaba value1 ekrana seçili olarak gelsin istiyorum. Nasıl yapa bilirim ?
Alıntı
<script type="text/javascript">
<!--
function showMe (it, box) {
var vis = (box.checked) ? "block" : "none";
document.getElementById(it).style.display = vis;
}
//-->
</script>
</head>
<body>
<input name="modtype" type="checkbox"
onclick="showMe('div1', this)" value="value1" checked />value1
<input type="checkbox" name="modtype" value="value2"
onclick="showMe('div1', this)" />value2
<div class="row" id="div1" style="display:none">Show Div 1</div>
<div class="row" id="div2" style="display:none">Show Div 2</div>