Ok thanks. I did it as a trick: i create the form hardcoded in html that I do not display thanks to css, I copy it to another place when I need it with newDiv.innerHTML = staticDiv.innerHTML, and I browse htmlDom elements of the copy to add dynamic properties. It all works fine. THanks again.
On Aug 24, 1:11 pm, James Bennett <[email protected]> wrote: > On Mon, Aug 24, 2009 at 5:07 AM, OnCEL<[email protected]> wrote: > > This is a form created dynamically in JS and it contains only a file > > input and a submit button (also created dynamically). > > The entire form creating code is: > > I would wonder whether security restrictions in the browser are > causing this; I know that manipulating file inputs is off-limits in > most browsers, and it may be that IE is also interfering with the > ability to dynamically create them. > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

