|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Invité régulier
![]() Inscription : septembre 2006 Messages : 113 ![]() |
Bonjour à tous,
J'ai un problème sous IE, en fait je fais passer en paramètre une String HTML (variable PHP) à ma fonction JS : Code :
$html.='<b><a href="javascript:affiche_description(\''.$ma_string_html.'\') "> '.$name.'</a></b>'; Ce parametre PHP soit $ma_string_html : est en fait la lecture d'un fichier HTML : $ma_string_html est le string contenant HTML suite a la lecture du fichier Code :
$ma_string_html =htmlentities (addslashes (utf8_decode ($ma_string_html ))); sous IE sa marche pas, alors que sous firefox tout se déroule normalement. Merci de votre aide. |
|
|
00
|
|
|
#2 |
![]() ![]() Andry Aimé Inscription : septembre 2007 Messages : 5 126 ![]() |
Bonsoir,
On peut voir le code HTML généré? A+. |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com