Afficher variable javascript en html
Résolu
reedbedroom
-
reedbedroom -
reedbedroom -
A voir également:
- Afficher une variable javascript
- Afficher appdata - Guide
- Telecharger javascript - Télécharger - Langages
- A javascript error occurred in the main process - Forum Matériel & Système
- Afficher taille dossier windows - Guide
- Afficher mot de passe wifi android - Guide
2 réponses
Bonjour,
Pour ajouter à ta div :
ou si tu préfères... pour remplacer le contenu de ta div
Cordialement,
Jordane
<input id="format" name="format" type="radio" value="10x15" onchange="afficher_format(this.value)"/>
Pour ajouter à ta div :
function afficher_format(valueFormat) { $("#format").append(valueFormat); }
ou si tu préfères... pour remplacer le contenu de ta div
function afficher_format(valueFormat) { $("#format").html(valueFormat); }
Cordialement,
Jordane