Re: Setting enctype through javascript causing an exception

2006-10-30 Thread Puneet Lakhina
On 10/30/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: I have an html file field in my form. Basically to obtain input for certain fields we have given user the option to either upload data through a file or input it manually. Now I haven't set the enctype of the form in html form tag but i set

Setting enctype through javascript causing an exception

2006-10-30 Thread Puneet Lakhina
I have an html file field in my form. Basically to obtain input for certain fields we have given user the option to either upload data through a file or input it manually. Now I haven't set the enctype of the form in html form tag but i set it using javascript whenever file input is selected. But