Many thanks James.

On Jan 21, 8:58 am, "James Hughes" <j.hug...@kainos.com> wrote:
> Stick autocomplete="off" in your input tag and that should do it
>
> <input type="text" name="login" autocomplete="off" />
> Though this might cause XHTML validation to fail if that's an issue
>
> ________________________________
>
> From: jquery-en@googlegroups.com on behalf of rob303
> Sent: Tue 20/01/2009 16:40
> To: jQuery (English)
> Subject: [jQuery] Re: Identify last keeypess
>
> Thanks again.  On reflection I think you are right James.  I should
> probably disable autocomplete for this field and doing so would
> resolve my issue.
>
> However, I've taken a quick look at the nocomplete plugin and that's
> not really what I want as it breaks some other functionality I have on
> those inputs.
>
> Is there a simple an elegant way to do it?
>
> Thanks!
>
> Rob.
>
> On Jan 20, 3:24 pm, "James Hughes" <j.hug...@kainos.com> wrote:
>
> > On a side note...
>
> > Do you want/need autocomplete becasue it is possible to stop a textfield 
> > being capable of autocomplete.  I ask simply becasue your example uses a 
> > login field and sometimes it's not security concious to allow autocomplete 
> > on some login fields.
>
> > Otherwise you'll just have to log what key was pressed in an external 
> > variable EVERYTIME a key is pressed and check that variale at the start of 
> > every keypress event.
>
> > James
>
> --------------------------------------------------------------------
> This e-mail is intended solely for the addressee and is strictly 
> confidential; if you are not the addressee please destroy the message and all 
> copies. Any opinion or information contained in this email or its attachments 
> that does not relate to the business of Kainos
> is personal to the sender and is not given by or endorsed by Kainos. Kainos 
> is the trading name of Kainos Software Limited, registered in Northern 
> Ireland under company number: NI19370, having its registered offices at: 
> Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
> Northern Ireland. Registered in the UK for VAT under number: 454598802 and 
> registered in Ireland for VAT under number: 9950340E. This email has been 
> scanned for all known viruses by MessageLabs but is not guaranteed to be 
> virus free; further terms and conditions may be
> found on our website -www.kainos.com

Reply via email to