Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE innerHTML strips quote characters.
Message
 
To
04/12/2005 01:47:56
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01073392
Message ID:
01074748
Views:
45
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform