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 & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to