html - Disable autocomplete via CSS -


Is CSS possible to disable autocomplete on a form element (especially a textfield)?

I use a tag library which does not allow auto-complete elements and I would like to disable autocomplete without javascript.

"post-text" itemprop = "text">

You can use a derived id and name every time that Is different, therefore the browser can not remember this text-field and will fail to suggest some values.

This is at least a cross browser safe option, but I would recommend responding to Robertson M ( autocomplete = "off" ).


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -