disable autocomplete javascript

JavaScript
someForm.setAttribute( "autocomplete", "off" ); 
someFormElm.setAttribute( "autocomplete", "off" );

Source

Also in JavaScript: