Skip to main content
3 events
when toggle format what by license comment
Nov 7, 2013 at 9:49 vote accept Shashant
Nov 7, 2013 at 9:23 comment added Shashant I modified your function as follows and it worked fine: function xmlencode(string) { return string.replace(/\&/g,'&'+'amp;');}
Nov 7, 2013 at 7:32 history answered Karthik Jaganathan CC BY-SA 3.0