<script type="text/javascript">
jQuery(document).ready(function () {
jQuery('#sssigned_user_id').select2();
jQuery('#filter').submit(function () {
var from = jQuery('[name="from"]').val();
var to = jQuery('[name="to"]').val();
var startDate = new Date(from);
var endDate = new Date(to);
if (startDate > endDate){
alert('Start date cannot greater than end date!');
return false;
}
});
});
</script>
When you are a software developer, you need to configure your IDE working with most convinience for your working, bellow is a sample code snippet to config your IDE { "diffEditor.ignoreTrimWhitespace" : false , "javascript.updateImportsOnFileMove.enabled" : "always" , "[typescriptreact]" : { "editor.defaultFormatter" : "esbenp.prettier-vscode" }, "editor.formatOnPaste" : true , "workbench.settings.applyToAllProfiles" : [], "editor.tabSize" : 2 , "redhat.telemetry.enabled" : true , "editor.codeActionsOnSave" : { }, // "editor.codeActionsOnSave": { // "source.fixAll": "explicit", // "source.fixAll.eslint": "explicit", // "source.organizeImports": "explicit", // "source.sortMembers": "explicit", // "javascript.showUnused": "...
Comments
Post a Comment