<script type="text/javascript"> function platpllista()
{
if(document.getElementById("platpl").style.display == "block")
{
document.getElementById("platpl").style.display = "none";
}
else
{
document.getElementById("platpl").style.display = "block";
}
}
function platplhide()
{
document.getElementById("platpl").style.display = "none";
document.getElementsByName("platpl_radio").checked == false;
}
<form name="order_details" method="POST"> <th colspan=2>asdasd:
</th> <td style="width: 25px;"> <input type=radio name=platnosc id="a1" value="" onClick="platplhide();"></td><td> <input type=radio name=platnosc id="a2" value="" onClick="platplhide();"></td><td> <td style="width: 25px;"> <input onClick="platpllista();" type="radio" name="platpl_radio" value="" id="asd"></td><td> <div id="platpl" style="display:none;"> <input type=radio name=platnosc id="1" value=""></td><td> <input type=radio name=platnosc id="2" value=""></td><td>
Potrzebuje coś takiego, że gdy już zaznaczę radio "asdasdsadasdas" i się rozwinie lista, a następnie jak będę chciał ją schować poprzez kliknięcie na niego jeszcze raz, albo na któryś z "INPUT a1" lub "INPUT a2" to radio "asdasdsadasdas" się odznacza. Oraz jak zrobić żeby radio od "asdasdsadasdas" zostawało na górze po rozwinięciu listy?