You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
2also see: developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/…Jonathan Fingland– Jonathan Fingland2009年09月16日 14:16:41 +00:00Commented Sep 16, 2009 at 14:16
-
Jon, I still have the same issue.Babu– Babu2009年09月16日 14:26:45 +00:00Commented Sep 16, 2009 at 14:26
-
Babu, I just tested Jon's code. It works fine. Could you be more specific? new code sample?Jonathan Fingland– Jonathan Fingland2009年09月16日 14:37:57 +00:00Commented Sep 16, 2009 at 14:37
-
Here is my code sample. itemObject.setValue(itemObject.getValue().replace(/[""]/g, '"').replace(/[‘’]/g,"'"));Babu– Babu2009年09月16日 15:23:13 +00:00Commented Sep 16, 2009 at 15:23
-
Does it work with other characters? Try replacing X and x with Z for example.Jon Skeet– Jon Skeet2009年09月16日 15:52:25 +00:00Commented Sep 16, 2009 at 15:52
lang-js