Health 2007 - Debt Consolidation - Debt Consolidation - Apply for Credit Card - Debt Consolidation

PDA

View Full Version : Check javascript status


madura99
Oct 8th 2007, 9:39 pm
Hi friends,

I'm developing a web site using php/mysql (www.lankacarsale.com) and I want to validate all user inputs from client side using javascripts without using server side validation. And want to print a message in html format if user has disabled javascript in the browser. ;)

I jst want to knw what kinda function available in PHP to check javascript status in client browser :confused:

or do you have any idea except server side validation :D

same time give your ideas to improve the value of my site (if you have time :cool: )

ezpz
Oct 9th 2007, 10:09 am
To know if javascript is enabled, you could use javascript to set the value of a hidden field.

To print a message if javascript is disabled, just include
<noscript><p>Please enable javascript to use this form.</p></noscript>