1. Using JQuery
Only for the specified input element:
$("#input_id").attr("autocomplete", "off");
For all form elements:
$("input").attr("autocomplete", "off");
2. Using Html "autocomplete" Attribute
Only for the specified input element:
<input type="text" autocomplete="off" value="" />
For all form elements:
<form name="form1" id="form1" method="post" autocomplete="off">
Hiç yorum yok:
Yorum Gönder