lors d'un back le onload du body ne s'execute pas sasn doute pour des raisons de cache ?
on peut le contourner comme ceci:mais j'essayais ceci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <html> <head> </head> <body> <p><a href="empty.htm">empty.htm</a></p> </body> <script type='text/javascript'> alert('SpaceFrog Was Here') </script> </html>
qui focntionne sous IE mais pas ffx ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <html> <head> </head> <body> <p><a href="empty.htm">empty.htm</a></p> </body> <script type='text/javascript'> document.body.onload=function(){alert('SpaceFrog Was Here')} </script> </html>
Voyez vous une solution ?
Partager