thats what I initiallly thought but i thought that the noscript was supposed
to be used directly after a <script> </script> section of which there isn't
one!?

the 'go' button displays regardless of whether scripting is enabled so using
noscript will add a submit button and the 'go' button wouldn't it which is
not what I want to achieve?

_______________________________________________________
*  Regards, 
                Richard Lovelock 
Westminster City Council - Web Support
Cap Gemini Ernst & Young
Southbank
95 Wandsworth Road
London 
SW8 2HG 
(     0870 906 7482
 
_______________________________________________________


-----Original Message-----
From: Matt Horn [mailto:[EMAIL PROTECTED]
Sent: 17 November 2003 14:06
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Detecting JavaScript Enabled


tough one

 maybe try

<noscript>
    <input type = "submit" value="submit">
</noscript>


or write 2 different pages ..
and use the <noscript> tag to cause a meta refresh if there is no script


<html>
<head>
<noscript>
<meta http-equiv="refresh"
content="0;URL=http://www.somewhere.com/js-no.html";>
</noscript>
</head>
HTH

 Matt
----- Original Message ----- 
From: "Lovelock, Richard J" <[EMAIL PROTECTED]>
To: "'cflist'" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 3:58 PM
Subject: [ cf-dev ] Detecting JavaScript Enabled


> Afternoon..
>
> How can I test if a client's browser is JS enabled (i.e. Scripting not
> disabled)?
>
> the website is undergoing some e-gov monitoring and accessibility needs to
> be high.
>
> There is a form that uses a button labelled 'Go' to submit form with code:
>
> <a href="javascript:frmChannelSelect.submit()"><img
> src="/templates/images/personal_arrow.gif" alt="go" border="0"></a>
>
> What I want to do, is be able to detect if user has scripting disabled and
> if this IS the case - put a bog standard submit button instead of this
image
> button.
>
> Any ideas please?
>
> _______________________________________________________<?xml:namespace
> prefix = o ns = "urn:schemas-microsoft-com:office:office" />
>
> *  Regards,
>                 Richard Lovelock
>
> Westminster City Council - Web Support
> Cap Gemini Ernst & Young
> Southbank
> 95 Wandsworth Road
> London
> SW8 2HG
>
> (     0870 906 7482
>
> _______________________________________________________
>
>
>
>
> =======================================================
> This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst & Young Group. It is intended
only for the person to whom it is addressed. If you are not the intended
recipient, youare not authorized to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
> =======================================================
>
>


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


=======================================================
This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst & Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, youare not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.
=======================================================


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to