thanks Ragae/Ade/Steve - that is what I want to achieve however - just discussing it with a colleague - we have agreed that the only thing the code is using script for is to submit the form:
<a href="javascript:frmChannelSelect.submit()"><img src="/templates/images/personal_arrow.gif" alt="go" border="0"></a> he suggests that you can use an <input> of type image to achieve the same thing and get rid of the "javascript:frmChannelSelect.submit()" code? _______________________________________________________ * 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: Steve Martin [mailto:[EMAIL PROTECTED] Sent: 17 November 2003 14:22 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Detecting JavaScript Enabled Put a bog standard submit button there anyway and use javascript to change it to the spangly imagey one. No javascript - no spangly image! > -----Original Message----- > From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] > Sent: 17 November 2003 13:59 > To: 'cflist' > 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]