Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE innerHTML strips quote characters.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01073392
Message ID:
01075375
Vues:
50
The issue, for me, was not [so much] one of execution. When I was structuring a scheme to pass html inside an XML (an HTTP GET) from server to browser. It seems from your [appreciated] followup that quotes do not make a difference to in IE during execution. I think they are important in JSP.

My initial tests used an existing innerHTML. I would add an "xml" tag to the front of the captured "innerHTML". Then I would try to load the newly created xml from the innerHTML into XMLDOM. It failed. DOM requires quotes around attributes. If the quotes aren't there - a parsing error is raised and the DOM is useless.
This tag-string will parse:
<?xml version="1.0"?><A id="BTAG" onclick="myfunction()">Rewrite Function</A>
This one will not:
<?xml version="1.0"?><A id="BTAG" onclick=myfunction()>Rewrite Function</A>
Do a "loadXL" inside DOM for [each of] the above strings. One will parse, the other will not.


>I know that the IE DOM parses it differently - but it doesn't make any difference to the execution. How about an example of what isn't working ?
>
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform