Input Text autocomplete Attribute
Definition and Usage
autocomplete
Set the attribute or return the value of the autocomplete attribute in the text field.
After enabling auto-complete, the browser will automatically complete values based on the user's previous input.
Tip:In some browsers, you may need to enable the auto-complete feature to make it work properly (check under "Preferences" in the browser menu).
See also:
HTML Reference Manual:HTML <input> autocomplete کا انداز
Example
Example 1
Set the auto-complete of the text field to off:
document.getElementById("myText").autocomplete = "off";
Example 2
Return the state of auto-complete:
var x = document.getElementById("myText").autocomplete;
Syntax
Return autocomplete attribute:
textObject.autocomplete
set autocomplete attribute:
textObject.autocomplete = "on|off"
کام کا مرتبہ
مقادیر | وصف |
---|---|
ان کی مدد سے براوزر، صارف کے پچھلے ورتاروں کی بنیاد پر خودکار طور پر تکمیل کردار لکھ سکتا ہے۔ | دفعہ |
آف | صارف کی ہر استعمال کے لئے، وہ ہر ایک لکچر کیلئے کا ورتارا لکھنا ضروری ہوتا ہے۔ براوزر خودکار طور پر کسی بھی مدد نہیں دے گا۔ |
تکنیکی تفصیلات
بازگشت کا مرتبہ: | جملہ کا مرتبہ، خودکار تکمیل کی حالت کا نمائش کرتا ہے。 |
---|
بھرپائی کا کاوا
کروم | ایج | فائر فاکس | سافری | اپرا |
---|---|---|---|---|
کروم | ایج | فائر فاکس | سافری | اپرا |
مدد | مدد | مدد | مدد | مدد |