Detecting If Javascript Is Enabled
RegisterLogin
Detecting If Javascript Is Enabled
Post Description: This Post Will Help You In Detecting Whether Javascript Is Enabled On A Users Computer When They Visit Your Website
Tags: Detecting, If, Javascript, Is, Enabled
This Post Was Posted On Jan 11, 2010 By Webune Tutorials #3044
Post Description: This Post Will Help You In Detecting Whether Javascript Is Enabled On A Users Computer When They Visit Your Website
Tags: Detecting, If, Javascript, Is, Enabled
This Post Was Posted On Jan 11, 2010 By Webune Tutorials #3044
Detecting If Javascript Is Enabled by Webune Tutorials
Webune Offers Excellent Web Hosting Service.
as you can see, we were able to detect whether or not you have javascript enabled on your computer. to see the the message telling you that you have javascript disabled, go ahead and disable your javascript on your broswer and refresh this page. You will see it works!!
so you're probably wondering how were we able to check if you had javascript enabled on your web browser. we used the following code
JAVASCRIPT CODE:
<script language="javascript">alert('Congratulations! - You have Javascript Enabled.'); </script><noscript><h1 style="color:red">You Do Not Have Javascript Enabled!</h1></noscript>
you can use this code to find out if a user has javascript enabled and provide a message.
NOTE: this script was tested on Firefox Version 3 and Internet Explorer Version 8
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Fri Dec 21, 2012 2:38 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3