(node)
| 2972 | |
| 2973 | // Get a node's text content. |
| 2974 | function eltText(node) { |
| 2975 | return node.textContent || node.innerText || node.nodeValue || ""; |
| 2976 | } |
| 2977 | function selectInput(node) { |
| 2978 | if (ios) { // Mobile Safari apparently has a bug where select() is broken. |
| 2979 | node.selectionStart = 0; |