New to Prototype/JS, etc. I have the following code.

var token = 'id1#a12345' + "," + 'id2#e6789'

new Ajax.Request('/some_url', {
                            method: 'get',
                            parameters: token   });

Using FF 3.6.16 and Firebug 1.5.4, the params get truncated at the #
symbol and only 'id1' is sent in the request. I've tried escaping the
# with

token = token.replace(/#/g, "\\#"); with the similar results. Now 'id1\
\' is sent. How do I send the # symbol as part of the request
parameters ?

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to