prototype, how to post special characters?
Hi, i am new to the prototype framework.. currently still learning on it... I have try to create a chat script.. but it seems like some of the character would not be passable to the php page via ajax..
var username = $F('name');
var message = $F('message');
var url = 'cbox.php';
var pars = 'username=' + username + '&message=' + message;
var myAjax = new Ajax.Request(
Characters like #?%& are not able to be pass to the next page..
Do i need to do some sort of encoding?.. so that the variable in the paramater would not conflict?