I am formatting text with javascript asigning +for each emtpy space like this
var ft = text.replace(/ /g,"+");
Then I pass the ftscript to PHP via jquery ajax as the get argument.
But
print $_GET['text'];
gives me text with empty space instead of +.
Any ideas?
source
share