I was looking for the best ways to do this tonight and came across, I think, a brilliant solution.
<noscript> <meta http-equiv="refresh" content="0;URL=http://yoursite.com/noJavascript" /> </noscript>
This redirects to another page if javascript is disabled without the need to call functions, hide / show divs and worry about the DOM update flash.
I know this has already been answered, but I have not seen such an approach anywhere on SO. If there is a reason, someone informed me :)
source share