Bonjour,
J'affiche une publicité en provenance d'une régie, et a un code similaire a celui-ci:
Ce qui dans ma page web donnerait ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <html> <head> </head> <body> <script type="text/javascript"> document.write("text a afficher"); </script <body> </html>
Est'il possible d'écrire la ligne "text a afficher" dans ma div d'id "test" ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <html> <head> </head> <body> <div id="test"></div> <!-- page publicité en 3000*250 --> <html> <head> </head> <body> <script type="text/javascript"> document.write("text a afficher"); </script <body> </html> <!-- fin page pub--> <body> </html>
Merci beaucoup
Partager