[Proto-Scripty] Re: getElementByTagName - object doesn't support property...

2011-06-24 Thread Matt Petrovic
$F gets the value of a form element, not the element itself. You're feeding a string into that function, and strings don't have the getElementsByTagName method. Use $ instead. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To

Re: [Proto-Scripty] Re: ajax.updater - json to fill select

2011-06-07 Thread Matt Petrovic
Updater expects the return result to be (X)HTML. It drops the response directly into the container as is. You should be returning an HTML string, or using Ajax.Request to get the JSON, convert it into HTML and dropping it in place. If you want to be hackish about it, you do your converting in

Re: [Proto-Scripty] how-to add option to select

2011-06-07 Thread Matt Petrovic
try using Ajax.Request -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/QTllMU5xRkRZMllK. To post to this group, send email to