check javascript is enabled!!!

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jul 2008
Posts: 17
Reputation: rejisha is an unknown quantity at this point 
Solved Threads: 0
rejisha rejisha is offline Offline
Newbie Poster

check javascript is enabled!!!

 
0
  #1
Aug 21st, 2008
hi friends....

Can we check whether the javascript is enabled or not in the client browser???

thanx in advance....
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 954
Reputation: essential will become famous soon enough essential will become famous soon enough 
Solved Threads: 131
Featured Poster
essential's Avatar
essential essential is offline Offline
Posting Shark

Re: check javascript is enabled!!!

 
0
  #2
Aug 21st, 2008
Simply insert this within your head tags.

  1. <SCRIPT language="JavaScript">
  2. <!-- BEGIN HIDING
  3. var browserName=navigator.appName; var browserVer=parseInt(navigator.appVersion); if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4)) version="n3"; else version="n2"; if (version=="n3") alert("Your browser passes the test"); else alert("You need an upgrade, I think.");
  4. // DONE HIDING -->
  5. </SCRIPT>
Last edited by essential; Aug 21st, 2008 at 12:16 pm.
Dev.Opera — FOLLOW THE STANDARDS, BREAK THE RULES...
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 954
Reputation: essential will become famous soon enough essential will become famous soon enough 
Solved Threads: 131
Featured Poster
essential's Avatar
essential essential is offline Offline
Posting Shark

Re: check javascript is enabled!!!

 
0
  #3
Aug 21st, 2008
Simply insert this within your head tags.

  1. <SCRIPT language="JavaScript">
  2. <!-- BEGIN HIDING
  3. var browserName=navigator.appName; var browserVer=parseInt(navigator.appVersion); if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4)) version="n3"; else version="n2"; if (version=="n3") alert("Your browser passes the test"); else alert("You need an upgrade, I think.");
  4. // DONE HIDING -->
  5. </SCRIPT>
Dev.Opera — FOLLOW THE STANDARDS, BREAK THE RULES...
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 381
Reputation: langsor is an unknown quantity at this point 
Solved Threads: 33
langsor langsor is offline Offline
Posting Whiz

Re: check javascript is enabled!!!

 
0
  #4
Aug 22nd, 2008
Originally Posted by rejisha View Post
Can we check whether the javascript is enabled or not in the client browser???
  1. alert( 'javascript is enabled' );
If it works, it's enabled ... if not, then it's not ...
Google is the answer to all of your questions -- the trick is knowing what question to ask in your specific predicament.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 213
Reputation: nikesh.yadav is an unknown quantity at this point 
Solved Threads: 17
nikesh.yadav's Avatar
nikesh.yadav nikesh.yadav is offline Offline
Posting Whiz in Training

Re: check javascript is enabled!!!

 
0
  #5
Aug 23rd, 2008
hy,
use noscript tag like
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <noscript>javascript in not enable <a rel="nofollow" class="t" href="http://www.nikeshyadav.com" target="_blank">click here</a> to rediect ur browser</noscript<
Help as an alias

I think programming is great................
Tour Travel weblink by me and about Tour ,
Go To My Home Page and I m in Webdevelopment.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 213
Reputation: nikesh.yadav is an unknown quantity at this point 
Solved Threads: 17
nikesh.yadav's Avatar
nikesh.yadav nikesh.yadav is offline Offline
Posting Whiz in Training

Re: check javascript is enabled!!!

 
0
  #6
Aug 25th, 2008
hey rejisha,
will u tell me which option u choose as a solution.and which one is the most suitable for ur problem
Help as an alias

I think programming is great................
Tour Travel weblink by me and about Tour ,
Go To My Home Page and I m in Webdevelopment.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC