Solved

How to enable/disable javascript of browser in PHP?

Posted on 2009-04-04
4
1,887 Views
Last Modified: 2013-12-13
How to enable/disable javascript of browser or how to know it is enabled or disabled in PHP
0
Comment
Question by:scspl
  • 2
4 Comments
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 100 total points
ID: 24066436
May be like this,


<noscript>
<!--this is shown only if you have disabled javascript-->
you disabled javascript or have a browser that does not support javascript... please enable javascript.
</noscript>

Open in new window

0
 

Author Comment

by:scspl
ID: 24066449
This is I know but I want to enable javascript if disabled.
0
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 100 total points
ID: 24066460
Through coding, you cannot. It is against browser security settings.  It is good to display message to enable javascript if it is disabled.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question