{"version":3,"file":"edyCustomSelectBox-1.3.min.js","sources":["Feature/Legacy/website/Contents/jQuery/edyCustomSelectBox-1.3.js"],"sourcesContent":["/* * *****************************************************************************\r\n * JQUERY CODE FOR CUSTOM SELECT BOX \r\n * ******************************************************************************\r\n * Author: Nitesh Kumar Verma\r\n * Email: nitesh.verma@edynamic.net\r\n * Website: http://www.edynamic.net\r\n * \t\tDate Created 10 Oct 2014\r\n * File: edyCustomSelectBox-1.3.js\r\n * Version: 1.3\r\n * ******************************************************************************\r\n * VERION HISTORY:\r\n * NONE\r\n *\r\n * ******************************************************************************\r\n * DESCRIPTION:\r\n * This is a complete core jQuery code for Custom Select Box\r\n * ******************************************************************************\r\n * EXAMPLE USAGE\r\n *\t\t$('#ID').edyCustomSelectBox();\r\n *\t\t$('.class').edyCustomSelectBox();\r\n * $('select').edyCustomSelectBox();\r\n *\t\t\r\n * ******************************************************************************\r\n * Fix LOG\r\n *\t\tFix tabindex problem\r\n *\t\tFix default value problem\r\n * \r\n * *******************************************************************************/\r\njQuery.fn.edyCustomSelectBox = function (options) {\r\n var defaults = {};\r\n var settings = $.extend({}, defaults, options);\r\n var keyinterval;\r\n var currindex = -1;\r\n //var zindexno=999;\r\n $(this).each(function (i) {\r\n if ($(this).hasClass(\"ignore\")) {\r\n return;\r\n }\r\n var selid = $(this).attr(\"id\");\r\n\r\n var tabindex = ($(this).attr(\"tabindex\") != undefined) ? $(this).attr(\"tabindex\") : 0;\r\n $(this).find(\"option:selected\").prop(\"selected\", true);\r\n var defaultValue = $(this).find(\"option:selected\").text();\r\n if ($(this).find(\"option:selected\").length == 0) {\r\n defaultValue = $(this).find(\"option\").eq(0).text();\r\n $(this).find(\"option\").eq(0).prop(\"selected\", true);\r\n }\r\n\r\n var ultext = '