[Cialug] ajax testing for javascript

Dave Hala Jr dave at 58ghz.net
Mon Jan 28 10:26:28 CST 2013


You're right, it needs to be in the body.
On Mon, 2013-01-28 at 16:21 +0000, Gavin Campbell wrote:
> Noscript is not valid in a header
> 
> 
> 
> Sent from my Samsung Epic™ 4G Touch
> 
> Dave Hala Jr <dave at 58ghz.net> wrote:
> I'm looking for a simple way to test if a browser has Javascript
> enabled.  Here's what I come up with.  I embedded in the head statement
> in my html. Can anyone see any problem with using this?
> 
> <noscript>
>  <meta HTTP-EQUIV="REFRESH" content="0; url=<?php
> $_SERVER['SERVER_NAME']?>/main/error.php?err=xx">
> </noscript>
> 
> 
> :) Dave
> 
> 
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list