MCPcopy Index your code
hub / github.com/prototypejs/prototype / getInnerHTML

Function getInnerHTML

test/unit/tests/dom.test.js:20–22  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

18
19
20function getInnerHTML (id) {
21 return $(id).innerHTML.toString().toLowerCase().gsub(/[\r\n\t]/, '');
22}
23
24function createParagraph (text) {
25 var p = document.createElement('p');

Callers 1

dom.test.jsFile · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected