var opt_display=function(row) {
alert(row);
return OPTION({"value":row},row);}

function FillCombo(analist) {
var lista =
SELECT({'id':'anagr','name':'anagr'},map(opt_display,analist.anagr));
swapDOM('anagr', lista);
var lista =
SELECT({'id':'stato','name':'stato'},map(opt_display,analist.stati));
swapDOM('stato', lista);
var lista =
SELECT({'id':'resp','name':'resp'},map(opt_display,analist.resp));
swapDOM('resp', lista);
}

function loadcombo(tipo) {
d = loadJSONDoc("http://192.168.9.1:8081/da/testajax.ks/combo";,
{"combocontents":tipo,"nocache": new Date().getTime()});
d.addCallback(FillCombo);
}

on FF the three SELECT are ok and filled.
In IE combos are empty and alert(row) in opt_display never shows. Is
there any problem with map (or SELECT) and IE?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to