On 12/2/08 4:43 PM, "Anna Larsson" <[EMAIL PROTECTED]> wrote: > Does anyone know a way of testing if the user has JavaScript enabled? > > Can it be done in java or velocity?
These are server side technologies, and don't know that much about the user's browser. Depending on what you're really after, it might be a good solution to either A) Make use of the noscript tag Or B) Assume the user doesn't have javascript enabled. E.g. show a div that informs the user that he needs javascript enabled, and then use javascript to hide the div and show the "real" content. If he has got Javascript enabled the div will be hidden and the user'll never know what hit him. If he doesn't have javascript enable no harm has been done. Or C) None of the above ;) -- Magne _______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
