A voir également:
- Javascript : afficher un champ
- Telecharger javascript - Télécharger - Langages
- Javascript est activé mais ne fonctionne pas ✓ - Forum Réseaux sociaux
- Erreur #125 javascript - Forum Mozilla Firefox
- Node.js javascript runtime virus ✓ - Forum Virus
- A javascript error occurred in the main process - Forum Handicap / Accessibilté
1 réponse
Je reposte ma question, à l'évènement onload, je récupère une variable que je veux afficher sur ma page, sachant que je code en java et j'ai pas mis ici tout le code, juste ce qui me pose problème :
Comptant sur votre aide.
<html> <head> <script type="text/javascript" > function onLoad(){ var maVariableDate = "variable récupérée"; } </script> </head> <body onload="onLoad();"> La date d'enregistrement : maVariableDate </body> </html>
Comptant sur votre aide.