(elem)
| 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 |