hi
I'm new to javascript, and I've been looking around for some
references on compatibility issues, but didn't found much.
I'm intrested in any and all kind of recommandations about
which methods are supported by which browsers, and all that
kind of stuff.
Are there any groups focused on these issues, or some pages
where reports up to date may be found ?
thanks a lot
for instance, I've written some basic code from tutorials in
order to get my hands in javascript, and even with that simple
stuff, I've already come across problems with scripts that
work with firebird, but don't work with explorer.
source of that example follows:
(it's in french, but understandable I guess)
function choixprop(f) {
for (i in document[f].choix ) {
if (document[f].choix[i].checked)
{
alert("Vous avez choisi la proposition d'indice " + i
+ " dont la valeur est " + document[f].choix[i].value);
uncheck_tout(f); //sinon, on a beau reloader, ca reste coche
return;
}
}
alert("Vous n'avez rien choisi");
}
function uncheck_tout(f) {
for (i in document[f].choix ) {
if (document[f].choix[i].checked)
{
document[f].choix[i].checked=false;
}
}
}
<FORM NAME="form3">
<INPUT TYPE="radio" NAME="choix" VALUE="a">Choix numéro 1<BR>
<INPUT TYPE="radio" NAME="choix" VALUE="b">Choix numéro 2<BR>
<INPUT TYPE="radio" NAME="choix" VALUE="c">Choix numéro 3<BR>
<INPUT TYPE="button"NAME="but" VALUE="Go" onClick="choixprop('form3')">
</FORM><br />