Robert
Robert

Reputation: 10390

PHP jquery database instant search no autocomplete in form

I was coding some php, jquery and database combo scripts to create an instant search but ran into the problem of the instant search results being overlapped by the automatic autocomplete of the browser. Is there a way around this nuisance?

Upvotes: 0

Views: 182

Answers (1)

Grzegorz
Grzegorz

Reputation: 3335

Use autocomplete="off" in the input control, and if the control is in a form then in the form control. Example:

<form autocomplete="off" ... >

Or

<input autocomplete="off" ... />

Upvotes: 2

Related Questions