[Javascript] Detect if JS enabled

Tripp, Candace L TrippCL at state.gov
Fri Nov 8 15:16:37 CST 2002


Thank you.  

-----Original Message-----
From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com]
Sent: Friday, November 08, 2002 3:09 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Detect if JS enabled



>How do I detect if JS is enabled on a user's browser?

<script etc>
document.write('JavaScript enabled')
</script>

<noscript>
JavaScript disabled
</noscript>

It depends on how you want to use the information.


--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2262 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021108/8ae9ef27/attachment.bin>


More information about the Javascript mailing list