Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing everything but the script
Message
De
02/05/2013 09:08:07
 
 
À
01/05/2013 13:32:50
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01572384
Message ID:
01572451
Vues:
41
>I am grabbing the content of the actual page and dumping that into a DIV area inside the parent. I do it like this:
>
>
>window.parent.oDiv.innerHTML=document.body.innerHTML
>
>
>When I do this, it grabs as well the script. What kind of approach can I use so that the script will not be included?


In case this is still an issue

Use Regex to remove the < script > ...... < / script >
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform