Hacker News new | past | comments | ask | show | jobs | submit login

Why is this needed in the markup? The autocomplete attribute is plenty. Everything else is just how the browser handles that attribute...

http://css-tricks.com/snippets/html/autocomplete-off/




Autocompleted data is not available to js -- that would be a huge security issue.


This is answered in our talk: http://www.youtube.com/watch?v=1M50AXPd0Tg&feature=youtu...

What it boils down to is that hiding your form and calling requestAutocomplete allows you to reduce the number of steps in the checkout flow by one (instead of taking the user to a page with a form and then showing a dialog on top of that form, just show the dialog and afterwards jump straight to pre-sale confirmation).


If you're talking about the extra autocomplete attributes, it gives site authors a way to use both the standardized autocomplete fields[0] and different name and id attributes for their own purposes.

[0]: http://www.chromium.org/developers/using-requestautocomplete...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: