MCPcopy
hub / github.com/mathiasbynens/jquery-placeholder / args

Function args

jquery.placeholder.js:173–185  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

171 }
172
173 function args(elem) {
174 // Return an object of element attributes
175 var newAttrs = {};
176 var rinlinejQuery = /^jQuery\d+$/;
177
178 $.each(elem.attributes, function(i, attr) {
179 if (attr.specified && !rinlinejQuery.test(attr.name)) {
180 newAttrs[attr.name] = attr.value;
181 }
182 });
183
184 return newAttrs;
185 }
186
187 function clearPlaceholder(event, value) {
188

Callers 1

setPlaceholderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected