javascript - parsley.js is not working in my Django form validation -


this code in django not show validation errors. missing syntax or tag?

<head>     <link rel="stylesheet" type="text/css" href="/static/css/side_file.css">     <script type="text/javascript" src="/static/js/parsley.js"></script>     <link rel="stylesheet" type="text/css" href="/static/css/side_file.css">     <script type="text/javascript" src="/static/js/parsley.js"></script> </head>  <body>     <form data-parsley-validate method="post">        {{form}}     </form> </body> 

<head> <link rel="stylesheet" type="text/css" href="/static/css/side_file.css"> <script type="text/javascript" src="/static/js/jquery.js"></script> # add jquery <script type="text/javascript" src="/static/js/parsley.js"></script> </head>  <body>     <form data-parsley-validate method="post">        {{form}}     </form> </body> 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -