Re: Hidden field null in IE

2008-04-02 Thread phms
Ok. Lets go: I have a javascript function that sets a value of a hidden field : hidden field: Javascript function: function adiciona(){ document.getElementById('mode').value='add'; } In my form i have a The problem is that the field is not set when i am using IE. -- newton.dave wrote

Re: Hidden field null in IE

2008-04-02 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > Oh my eyes!, now seriously, that is kind of hard to read (and you > didn't even say what field it was). > > On Wed, Apr 2, 2008 at 4:35 PM, phms <[EMAIL PROTECTED]> wrote: > > I have a JSP page in which i need to set a hidden field **(mode)** using

Re: Hidden field null in IE

2008-04-02 Thread Dave Newton
Can you reduce that to a minimal use-case and repost? It's hard to wade through that much HTML/JavaScript/Java/JSP to find out what's actually happening. Dave --- phms <[EMAIL PROTECTED]> wrote: > > Folks, > > I have a JSP page in which i need to set a hidden field (mode) using > javascript an

Re: Hidden field null in IE

2008-04-02 Thread Musachy Barroso
Oh my eyes!, now seriously, that is kind of hard to read (and you didn't even say what field it was). Tips: * Put all that inlined javascript in functions. * Check for javascript errors on the page * Minimize the example to something small that replicates the problem * This is not an struts proble