Check if javascript is on

I know this is a dumb question, but is there a way to figure out
whether javascript is on a browser or not before I generate the page?
This is most important with my edit controllers which has a hidden
form to edit a page, and it's only made visible by a few javascript
magic.

lots of ways to do this . google is your friend "detect javascript enabled"

-- gw