Tuesday, October 23, 2007

Error: malformed URI sequence

When use decodeURI to get the ajax feedback, it will return the error of malformed URI sequence if the feedback include some character like: %. The soltion is to make sure the feedback is a encodeURI or escape string, then don't use decode. More choice is use % as the replace.

1 comment:

Unknown said...

This is a very interesting post, and the comments are also fantastic to read. I’ll have to have a little re-think about my own contact form on our new website, as this poses some interesting questions!

web designing