[Seaside] fileUploadWithCallback overriding name attribute
Kamil Kukura
kamk at volny.cz
Sat Sep 18 11:59:50 CEST 2004
Andreas Nilsson wrote:
> I'm trying to name a file input to be able to reference it from
> JavaScript, but Seaside seems to be overriding my name (it places
> name="3" after my name attribute).
Do you have multiple file inputs on one page? It's better to assign id
attribute as unique reference:
html cssId: 'myfile'; fileUploadWithCallback: [...]
and then reference it from javascript:
document.getElementById("myfile");
And keep uniqueness of assigned id names.
--
Kamil
More information about the Seaside
mailing list