-4
I want when the person clicks on option one and then clicks on two, 1 is unchecked.
<script>
function mudaImagem (foto){
document.getElementById("vamo") .src =foto;
}
function selecionaPequeno(){
document.getElementById("bora") .src = "imagens/P1.gif";
}
function voltaPequeno(){
document.getElementById("bora") .src = "imagens/P1.png";
}
function selecionaMedio(){
document.getElementById("corre") .src = "imagens/P1.gif";
}
function selecionaGrande(){
document.getElementById("neh") .src = "imagens/G3.png";
}
function selecionaGigantesco(){
document.getElementById("jeh") .src = "imagens/GG3.png";
}
</script>
HTML
<img src="imagens/P1.png" id="bora" name="opa" onclick="selecionaPequeno()" width="56" height="35" />
<img src="imagens/P1.png" id="corre" name="opa" onclick="selecionaMedio()" width="56" height="35" />
Missing details on your question, unchecked what? Put the full code or a good part to understand what you need.
– Hermus
You can join the HTML of these options?
– Sergio