my
FAQ
Recherche
Options
A propos
Se connecter
Question
Mots-clés
Réponses
Note
≥
<
Date
>
≤
jour(s)
mois
an(s)
Dans
toute myFAQ
mes questions
Brouillon
01/03/2013
0
Exécuter du javascript après mise à jour d'une page via AJAX
Mots-clés:
0
That will always happen with scripts loaded via AJAX into the document. To get around this you can do two things.
Use DOM to get the AJAX response, and then append it to the head of the document so that it will be treated as a script.
Use eval(). I discourage doing this, but some people don't care about using it, especially when the code is small.
cf.
http://www.webdeveloper.com/forum/showthread.php?t=138830
< Question précédente
Question suivante >