dom7('input#Element')

I have a question about using Dom7 in a page. When in a page, dom7 requires ‘input’. When I try to use a ‘div’, it does not work. Am I doing something wrong or is this by design?

The following is in my pageInit function and it works quite well - it does get a value in from a calling page.

pageInit: function () {
var fromCallingPage = this.$route.params.index;
dom7(‘input#CriteriaInput’).val( fromCallingPage );
}

dom7(‘div#CriteriaInput’).html( fromCallingPage );

javascript is a case sensitive
dom7 => Dom7