<script type="text/javascript" language="javascript"> function hide_them_all() {
document.getElementById("opcja1_options").style.display = "none";
document.getElementById("opcja2_options").style.display = "none";
}
<input type="radio" checked name="what" value="opcja1" id="radio_plugin_opcja1" onclick="if(this.checked) {
hide_them_all(); document.getElementById('opcja1_options').style.display = 'block'; }; return true"/>
<input type="radio" name="what" value="opcja2" id="radio_plugin_opcja2" onclick="if(this.checked) {
hide_them_all(); document.getElementById('opcja2_options').style.display = 'block'; }; return true"/>
<fieldset id="opcja1_options" class="options"><legend>Widoczne opcje jeden :)
</legend>tutaj wszystko co
<fieldset id="opcja2_options" class="options"><legend>Widoczne opcje dwa :)
</legend>tutaj wszystko co do
... gdzie tutaj jest blad chce zeby jak wchodze (odswierazam strone ) to pokazywala mi sie tylko jedna opcja bez roznicy ktora a tu jak wchodze to sa dostepne oby dwie topiero jak klikne to jest ta co zaznaczylem .... (IMG:
http://forum.php.pl/style_emoticons/default/sciana.gif)
Ten post edytował djbarca 10.09.2007, 08:37:19