I\'m having a very hard time trying to do something very simple. Here\'s the code:
if(data == \'success\') { alert(\'foo\'); }
You can remove the trailing ?> in your file, if it is the last line in the file. I want to response to the comments to the original issue, but i don't see how.