auto complete off in javascript------------------------------------ $(document).ready(function () { try { if (document.getElementsByTagName) { var inputElements = document.getElementsByTagName("input"); for (i = 0; inputElements[i]; i++) { if (inputElements[i].type == "text") { inputElements[i].setAttribute("autocomplete", "off"); } } } } catch (e) { } });
Very informative post..Asp.Net Training Mumbai
auto complete off in javascript
ReplyDelete------------------------------------
$(document).ready(function () {
try {
if (document.getElementsByTagName) {
var inputElements = document.getElementsByTagName("input");
for (i = 0; inputElements[i]; i++) {
if (inputElements[i].type == "text") {
inputElements[i].setAttribute("autocomplete", "off");
}
}
}
}
catch (e)
{ }
});
Very informative post..Asp.Net Training Mumbai
ReplyDelete