Forum Moderators: open

Message Too Old, No Replies

Bad characters in AJAX requests

Bad characters in AJAX requests

         

optik

3:11 pm on Jan 26, 2009 (gmt 0)

10+ Year Member



Hi

I have noticed the following characters are making my AJAX request fail during the Javascript part, %,# and &.

Is this normal, I'm using a string replace function to get around this but this seems a bit hacky and long winded for a lengthy form.

Thanks

Fotiman

4:48 pm on Jan 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What do you mean by 'the Javascript part'? Do you mean before you send the AJAX request, or when you're evaluating the response? Can you post some code that demonstrates the problem you are seeing?