Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE innerHTML strips quote characters.
Message
 
À
04/12/2005 01:47:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01073392
Message ID:
01074748
Vues:
46
>When you build your HTML, especially the code in regards to where the quotes are not seen by IE, have you thought of encoding the quote instead of passing the quote character? Maybe IE can see it in that way.

I reviewed solutions that did that. IE seems to have strayed from W3C. Firefox innerHTML shows the quotes.

IE innerHTML, as long as quotes are not required to assemble an XML or restore the previous state will work. I had two issues. For XML, dimension tags like WIDTH need to have quotes (WITDH="0") and function assignments need quotes. In IE, I would have to have a smart routine shopping for phrases like "WIDTH" or "onclick" and then determine where to embed the quotes (or coded quotes).

My solution was to leave the SPAN blank until the client requested a "proper" innerHTML from the web service.
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform