This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#parcelByAddress.select2").select2({ | |
placeholder: "Select...", | |
minimumInputLength: 2, | |
allowClear: true, | |
autoClear: false, | |
//initSelection: function (element, callback) { | |
// var elementText = element.val(); | |
// data = { id: elementText, text: elementText }; | |
// callback(data); | |
//}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#GisStreetName.select2").select2({ | |
placeholder: "Select...", | |
minimumInputLength: 2, | |
allowClear: true, | |
autoClear: false, | |
initSelection: function (element, callback) { | |
var elementText = element.val(); | |
data = { id: elementText, text: elementText }; | |
callback(data); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//TEXTAREA AUTOGROW **AND** REMAINING CHARACTER COUNTER SETUP | |
//Combined jquery.autosize.js and jquery.jqEasyCharCounter.js | |
$("#AdditionalComment").autosize().jqEasyCounter({ | |
maxChars: 1000, | |
maxCharsWarning: 995, | |
msgFontSize: "11px", | |
msgFontColor: "#000", | |
msgTextAlign: "left", | |
msgWarningColor: "#A00", | |
msgAppendMethod:"insertAfter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//jquery.maskedinput-1.3.1.js | |
//PHONE NUMBER MASKS | |
$("#HomePhone,#WorkPhone").mask("(999)999-9999?x99999"); | |
//ZIP CODE MASK | |
$("#Zip").mask("99999?-9999"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//DATE TIME SETUPS | |
// http://trentrichardson.com/ | |
var serviceCallDate = $('#ServiceCallDate'); | |
var completedDate = $('#CompletedDate'); | |
var responseDate = $('#ResponseDate'); | |
var checkedDate = $('#CheckedDate'); | |
$('#ServiceCallDate').datetimepicker({ | |
altField: "#ServiceCallTime", |