LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2003, 06:49 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
If browser doesn't support Javascipt


If page contains some javascript functions and in some browsers you can disable the javascript support. What will the visitors see on my page if javascript support is disable? Is is possible to disable the javascipt if vistor has a browser with disable javascipt support?


Thanks
 
Old 10-08-2003, 07:44 PM   #2
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
Do you want to do it with java , or a server side language like php?
 
Old 10-08-2003, 10:58 PM   #3
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
try <noscript></noscript> tags. Content within these tags is displayed if there is no javascript support.
say,
Code:
<script>
alert("Javascript's working");
</script>
<noscript>
<h2>dude, you browser doesn't seem to support javascript. you may want to change your browser preference</h2>
this should help :-)
 
Old 10-09-2003, 06:54 AM   #4
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jinksys
Do you want to do it with java , or a server side language like php?
javascript code is client side .. not server side.
 
Old 10-09-2003, 11:11 AM   #5
vanquisher
Member
 
Registered: Aug 2003
Location: Hyderabad, India
Posts: 126

Rep: Reputation: 15
Quote:
Originally posted by mikeshn
javascript code is client side .. not server side.
Thats what many ppl thing...JavaScript is both client-side and server-side...there's a Server-side JavaScript too
 
Old 10-09-2003, 01:37 PM   #6
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
I didnt say javascript was serverside, I said php was serverside.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java script support for browser The Oate Programming 3 10-20-2005 10:54 PM
text-based browser with SOCKS support? Moebius Linux - Software 1 10-03-2005 07:00 AM
Which browser support ActiveX Controls? saudoi Linux - Software 10 08-04-2004 10:52 AM
browser that support xsl demmylls Linux - Software 0 02-08-2004 10:48 AM
stable browser with support for Chat needed peterg Linux - Software 2 03-13-2002 08:54 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration