Hi, I made a form and I have some difficulties with this:
I have an iframe in my html page (motorola-t720.html).
In this iframe, i have two radio button, and I would like to get the value in the page “motorola-t720.html” in the text field name “telephonetotal” and the form name “myform”.
Here is my code, It doesn’t work
Help me please
Rachel
<SCRIPT LANGUAGE=”JavaScript”>
<!–
function telpaiement()
{
window.location.href=”motorolla-t720.html?resultat=”+telephonetotal;
}
–>
</script>
<form method=”get” name=”descriptionplan”>
<table class=”Description” width=”320″ border=”0″ cellspacing=”1″ cellpadding=”2″>
<tr>
<td colspan=”2″ width=”325″><b>Abonnement/coût du téléphone</b><br>
<input type=”radio” name=”paiement” value=”130.00″ border=”0″ onclick=”telpaiement()”> un an – 130.00$<br>
<input type=”radio” name=”paiement” value=”25.00″ border=”0″ onclick=”telpaiement()”> deux ans – 25.00$<br>
<br>
</td>
</tr>
</table>