Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

fix autofill issue asp.net mvc

<script language="javascript" type="text/javascript">
        $(document).ready(function () {
            try {
                $("input[type='text']").each(function(){
                               $(this).attr("autocomplete","off");
                            });
            }
            catch (e)
            { }
        });

    </script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fix #autofill #issue #mvc
ADD COMMENT
Topic
Name
9+5 =