[Proto-Scripty] Re: how to pass question marks in fields using ajax updater

2010-01-29 Thread Tami
Here's what worked. I did this: var url = 'site.lasso?fuseaction=ajax.famMbr_nestedForm'; var target = 'ajax_famMbr_div'; var myAjax = new Ajax.Updater(target, url, {method:'get', parameters: {a: $F('member_nm'), b: $F('member_address'), c: $F ('member_ph'), d: $F('member_email'), e:

[Proto-Scripty] Re: how to pass question marks in fields using ajax updater

2010-01-27 Thread T.J. Crowder
Hi, You're doing a lot more work there than you need to (and apparently introducing some problem with a question mark; I'm not immediately seeing why, but I think your message was truncated). Check out Form#serialize and Form.Element#serialize. There's no problem submitting fields with question

[Proto-Scripty] Re: how to pass question marks in fields using ajax updater

2010-01-27 Thread Scott
It looks like you are forming your parameters as you would a querystring ex: a=appleb=banana parameters for an Ajax.Updater or Request are usually set up like this: parameters: { a: 'apple', b: 'banana' } if you are still having trouble passing in a '?' you could also try changing the method to