Hi,

I am trying to re-populate a selection using prototype and it works
just fine with
FireFox, however, it does not with MS IE (>=6.0). It always results in
an empty selection list.
Checking the DOM with IE DOM Inspector reveals <select
id="..."></select>, no options whatsoever.

My invoker:

function invokeLoadSelection(form, event, container, value) {
   if (event != null) params = event + '&contentSection=' + $F(value);
   var req = new Ajax.Updater({success: container}, form.action, {
method: 'post', postBody: params });
}

The stripes resolution produces a simple string with <option...> tags:

>>>
String res = "";
DataManager dm = new DataManager();
List items = dm.contentBySection(contentSection);

for( Object ct : items ) {
   res += "<option value=\"" + ((Content)ct).getId().toString().trim()
+ "\">";
   res += ((Content)ct).getTitle().trim() + "</option>";
}

return new StreamingResolution("text/html", new StringReader(res));
<<<

Can anyone !please! point me in the right direction as to why the
[EMAIL PROTECTED] it doesn't work 
in IE?

Thanks,
Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to