September 12th, 2012, 08:35 PM
Is there any css alternative solution for "autocomplete" ?
Is there is no attribute "autocomplete" ?
I get this error.
September 12th, 2012, 08:39 PM
September 12th, 2012, 08:41 PM
Sorry I didn't realize that. Ended up using Jquery:
Originally Posted by requinix
September 12th, 2012, 09:24 PM
Out of curiosity, why are you still using XHTML 1.0 Transitional? It's time to start using an HTML5 doctype, even if you don't use any of the new elements in HTML5.
September 12th, 2012, 10:26 PM
Does this work?
Originally Posted by Kravvitz
September 12th, 2012, 10:40 PM
Yes, but if you still want to use the XHTML syntax, you would still need to specify the xmlns attribute for the <html> element.
September 12th, 2012, 11:32 PM
Thanks. By the way do you have any answer for the original question here? I rather not use Jquery.
September 12th, 2012, 11:46 PM
requinix is correct. Except for the various presentational HTML attributes (e.g. "border", "align", and "valign"), most of which are deprecated and/or obsolete, CSS has no influence over the values of HTML attributes.
If you use the HTML5 doctype, the autocomplete attribute shouldn't cause an error when you try to validate the page.