Hi, I have a little problem. I want to give the content of an array to a new page through a form. The javascript code is:
this._view.selectedPicts.setAttribute('value', picts); I retreive the content using mod_python: fields = util.FieldStorage(req) selectedPicts = fields['selectedPicts'].split(',') All works fine under Firefox and Safari/konqueror, but fails under IE8: Firefox: fields={'numAdherent': [Field('numAdherent', '20')], 'numEvenement': [Field('numEvenement', '2')], 'selectedPicts': [Field('selectedPicts', 'P4052858.JPG,PB135158.JPG,photo20-08-03_DSC5719net_redimensionner.jpg,_DSC0222.jpg,p1010005.jpg')]} IE8: fields={'numAdherent': [Field('numAdherent', '20')], 'numEvenement': [Field('numEvenement', '2')], 'selectedPicts': [Field('selectedPicts', '[object]')]} The strange thing is if I log 'picts' before sending the form, it is correct, even under IE8! console.debug("OrderingController._submit(): picts=" + picts); Firefox: 2009-11-0 12:53:55,198::DEBUG::OrderingController._submit(): picts=P4052858.JPG,PB135158.JPG,photo20-08-03_DSC5719net_redimensionner.jpg,_DSC0222.jpg,p1010005.jpg IE8: JOURNAL : 2009-11-0 12:55:10,67::DEBUG::OrderingController._submit(): picts=P4052858.JPG,PB135158.JPG,photo20-08-03_DSC5719net_redimensionner.jpg,_DSC0222.jpg,p1010005.jpg So, why do I get the wrong string in my form field under IE8? What should I use instead of just 'picts'? Thanks, -- Frédéric -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.