Solved

How to enable/disable javascript of browser in PHP?

Posted on 2009-04-04
4
1,883 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now