Question: How can I check if textarea is hidden using javascript?

Answer: 
Internet explorer somehow gets confused if you have two elements with same id. Though the things work fine in firefox, they don't in Internet explorer. I changed the id of textarea and it is working now.

Thank You guys.
Wouldn't it be unhidden in the first place if your css isn't setting it to display: none; ?

If you want to hide it or show it you should just be able to use some JQuery:

```
$(document.body).css( "display", "none" );

```

or

```
$(myForm.elements).hide()

```

And so on.