Afficher un message
Vieux 10/04/2008, 16h43   #2
darrel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: javascript htmlencode/decode?

> unescape would work fine provided I 'escape' my string first. Anyone know
> of a tool, downloadable or online that I can paste in text and have it
> escaped for me for use in a javascript?


Or, perhaps a different way to solve this...

If I have this string: <table id="gatewaytable"<

Is there a prebuilt function in javascript to 'unencode' the html entities
so it inserts this:

<table id="gatewaytable">

Or would one have to write their own script to manually replace the html
entities?

-Darrel


  Réponse avec citation
 
Page generated in 0,04852 seconds with 9 queries