Connecting Tech Pros Worldwide Help | Site Map

Clear Cookies/autocomplete popup

Member
 
Join Date: Sep 2007
Posts: 121
#1: Mar 4 '08
Hello friends,
I have a general doubt, i.e when we create a project, we have a login form and when we enter the username and password if those are correct we login otherwise another form or some message will appear.

when we relogin the first letter of username typed the matching names displayed as a popup box called as Cookies. We don't want that will be happen that means all names entered previously must be cleared.

In some sites it is possible i saw, but i didn't find the relavant code, the question is, How to clear those cookies through javascript or html only? Can anyone help me with example of code in Modperl or script also
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,128
#2: Mar 4 '08

re: Clear Cookies/autocomplete popup


hi ...

you want to avoid the autocomplete feature of a browser and you may try to use the autocomplete="off" attribute for an input-element, which avoids it for that element or implement it in the form-element so that ALL input-elements will be affected. Note that opera will ignore the setting and activates the password-manager instead ...

kind regards
Member
 
Join Date: Sep 2007
Posts: 121
#3: Mar 5 '08

re: Clear Cookies/autocomplete popup


Quote:

Originally Posted by gits

hi ...

you want to avoid the autocomplete feature of a browser and you may try to use the autocomplete="off" attribute for an input-element, which avoids it for that element or implement it in the form-element so that ALL input-elements will be affected. Note that opera will ignore the setting and activates the password-manager instead ...

kind regards


Thanks my friend this answer is perfect. I have designed my project with this efficiently.
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,128
#4: Mar 5 '08

re: Clear Cookies/autocomplete popup


no problem :) ... glad to hear you got it working ... post back to the forum anytime you have more questions ...

kind regards
Reply


Similar JavaScript / Ajax / DHTML bytes