MCPcopy Create free account
hub / github.com/jsfiddle/togetherjs / isCheckable

Function isCheckable

togetherjs/forms.js:81–88  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

79 }
80
81 function isCheckable(el) {
82 el = $(el);
83 var type = (el.prop("type") || "text").toLowerCase();
84 if (el.prop("tagName") == "INPUT" && ["radio", "checkbox"].indexOf(type) != -1) {
85 return true;
86 }
87 return false;
88 }
89
90 var editTrackers = {};
91 var liveTrackers = [];

Callers 2

getValueFunction · 0.85
setValueFunction · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected