Thanks, it works now!
Now I want to do replace(),
Here's what I did:
ajax.txt has the word "yes" .
The intention is to replace the word "yes" with the word "green" using this:
But it does not work because the pop-up warning still shows: "yes". It should be "green"??
Kindly advise what I did wrong?