Hi I need some help:

When you enter a character (?) As parameter returns me empty. I put
this example:

In a text box with id = "name" entry = "Hi" and through this function:

function sendRequest() {
new Ajax.Request("contact.php",
method: 'post',
parameters: 'name='+$F('name'),
onCreate : function startLoading() {
                $('respuesta').innerHTML= '<img src="images/sending.gif"
width="16" height="16" align="absmiddle">';
onComplete: function showResponse(req){
                        $('respuesta').innerHTML= req.responseText;
                                if(req.responseText == "success") {

I return "Hi" satisfactorily. But if I enter "Hi?" I returned empty.
It seems that if I enter (?) Occurs an error in the parameter section.
How can I solve this?. I hope your help. Thank you very much.


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to