Xml as argument in JS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DiDoria
    New Member
    • Mar 2007
    • 21

    Xml as argument in JS

    Hey,

    I have a HTML document with a lot of (random placed) XML -files in a table. Now if a field has more then 100characters I want to open it in a popup (with a button) but! because my XML-files contain quotes and so it gives errors. How can u solve this problem?

    thx!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You can escape the quotes using the backslash (\) character:
    Code:
    \'

    Comment

    Working...