Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing everything but the script
Message
De
01/05/2013 20:49:18
 
 
À
01/05/2013 14:26:19
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01572384
Message ID:
01572422
Vues:
47
>>By script, do you mean javascript inside a script tag? If so, move the script outside the div
>
>The script is at the end of the page encapsulated in the script tag. That part, in Firefox at least, gets added in the innerHtml. I am not sure if other browsers are grabbing it. It has always been my assumption that innerHtml did not include the script part. But, I read that Firefox grabs it.

Change:

Body
Div
Script
/script
/div
/body

To

Body
Div
/div
Script
/script
/body
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform