Re: solution

From: Date: Sat, 17 Apr 2010 15:24:09 +0000
Subject: Re: solution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-304161@lists.php.net to get a copy of this message
Paulo-WORK wrote:
I have reached a solution for my problem with js. Following all the sugestions and using jquery turned out to be quite simple. using .ide( ) and .show( ) i am able to change the #div with Js enabled content and no js. So defining with css for example: #main{display:none;} #main_nojs{display:block;} if js is enabled on load Jquery will .hide( #min_nojs) and -.show(#main) if is off #main is already defined as display:none and #main_nojs as display:block. Paulo Carvalho
Here's how some others solved the problem. http://thedailywtf.com/articles/bulletproof-javascript-detection.aspx I took out all my money (both cents) and put it under my mattress ;D Mike Wright

« previous php.general (#304161) next »