How to get the browser javascript enable or not using php/javascript?
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$3 Answers
The one method is to use JavaScript to set a hidden form field with a value. When the page is submitted, you check that value and you can know JavaScript is enabled if it is there.
What is the main purpose of needing to know if JavaScript is enabled?
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$get_browser — Tells what the user's browser is capable of.
Description
get_browser ([ string $user_agent [, bool $return_array ]] )
Attempts to determine the capabilities of the user's browser, by looking up the browser's information in the browscap.ini file.
Here is the link with the information:
http://ca.php.net/get_browser
I hope this helps
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$get_browser only shows a browser's *potential*, without necessarily indicating whether or not the user has disabled some of those potential features.
I just tested to make sure, and it continued to report a "1" on my browser after I disabled Javascript.
Also, I then promptly forgot that I turned off Javascript and started getting a bit frustrated at the "sudden wonkiness" of the Mahalo pages.
:facepalm: