ClanKiller.com http://forums.clankiller.com/ |
|
an AJAX post gotcha http://forums.clankiller.com/viewtopic.php?f=24&t=2666 |
Page 1 of 1 |
Author: | Satis [ Fri Nov 30, 2007 3:44 pm ] |
Post subject: | an AJAX post gotcha |
just ran into this. Basically an ampersand in a post request will screw up your post. I guess I've just never used an ampersand before. It makes sense in retrospect, I just never though about it. Unlike GETing AJAX requests, POSTing is pretty browser-safe. I use the following to get around it. content = content.replace('&',escape('&')); |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |