You are here: Re: Javascript avail test without get_browser and browscap « PHP Programming Language « IT news, forums, messages
Re: Javascript avail test without get_browser and browscap

Posted by Jerry Stuckle on 11/29/80 11:57

Eduardo wrote:
> Hi people, I need some help.
> A important proccess in my application need to know if the browser
> avail javascript, using server-side code, but the server have not
> browscap.ini. Somebody may help me?
>
> thanks a lot
>

You can't tell server-side if js is available or not. You have to do it
client side, then let the server know.

For instance, you could set a hidden field in a form to 0 and change it
to 1 in js code. Then when the forum is submitted you can check the
field to see if js is enabled or not.

There are any number of other ways, but they all depend on js taking
some action client side which can be detected server side.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация