[Proto-Scripty] Re: number sign (#) in a select option - gets truncated

2011-01-17 Thread ColinFine
On Jan 14, 2:53 pm, ehickstech ehickst...@gmail.com wrote: Thanks for responding.  I'm sending via POST.  Here's the script function sendRequest() {         new Ajax.Request(/edit/doorhangers/add_ajax/,         {             encoding: 'UTF-8',             method: 'post',            

[Proto-Scripty] Re: number sign (#) in a select option - gets truncated

2011-01-14 Thread Luke
Is the hash mark part of the request URL? If so it probably strips it because it's interpreted as an anchor and not part of a http-request to a file. If not so: We can haz (relevant) codez? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] Re: number sign (#) in a select option - gets truncated

2011-01-14 Thread ColinFine
On Jan 13, 6:52 pm, ehickstech ehickst...@gmail.com wrote: I have a select field in a form and one of the options has a number sign, such as 100# Glossy Cover I'm using Prototype to process an AJAX request and it's lopping off the number sign and everything after it. Any ideas what to do

[Proto-Scripty] Re: number sign (#) in a select option - gets truncated

2011-01-14 Thread ehickstech
Brilliant!! Thank you so much! On Jan 14, 10:39 am, Rüdiger Kaatz rudirak...@gmail.com wrote: Hi there, I suppose the mistake is in passing in a string to parameters. Better do it like this:        new Ajax.Request(/edit/doorhangers/add_ajax/,        {            encoding: 'UTF-8',  

Re: [Proto-Scripty] Re: number sign (#) in a select option - gets truncated

2011-01-14 Thread Rüdiger Kaatz
Easy, you're welcome. On Jan 14, 2011 5:20 PM, ehickstech ehickst...@gmail.com wrote: Brilliant!! Thank you so much! On Jan 14, 10:39 am, Rüdiger Kaatz rudirak...@gmail.com wrote: Hi there, I suppose the mistake is in passing in a string to parameters. Better do it like this: new