Input Search autocomplete Attribute
Definition and Usage
autocomplete
Property settings or return the value of the autocomplete attribute in the search field.
After enabling autocomplete, the browser will automatically complete values based on the user's previous inputs.
Tip:In some browsers, you may need to enable the autocomplete feature to work properly (check under "Preferences" in the browser menu).
See also:
HTML Reference Manual:HTML <input> autocomplete প্রতিভাত্ত্ব
Example
Example 1
Set the autocomplete of the search field to off:
document.getElementById("mySearch").autocomplete = "off";
Example 2
return autocomplete status:
var x = document.getElementById("mySearch").autocomplete;
Syntax
return autocomplete attribute:
searchObject.autocomplete
set autocomplete attribute:
searchObject.autocomplete = "on|off"
প্রতিভাত্ত্ব
মূল্য | বর্ণনা |
---|---|
অন | ডিফল্ট।ব্রাউজার ব্যবহারকারীর আগের ইনপুট মূল্য অনুযায়ী মূল্য সম্পূর্ণ করবে。 |
আফ | ব্যবহারকারীর প্রত্যেক ব্যবহারের জন্য, প্রত্যেক টেক্সট ফিল্ডে মূল্য ইনপুট করতে হবে।ব্রাউজার স্বয়ংক্রিয়ভাবে এন্ট্রি করবে না。 |
টেকনিক্যাল বিবরণ
ফলাফল: | শব্দতালিকা মূল্য, যা আটোকমপলিট অবস্থা নির্দেশ করে。 |
---|
ব্রাউজার সমর্থন
চ্রোম | এডজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|
চ্রোম | এডজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |