I'm trying to get all input elements within a certain div, but it seems to return all inputs on any given page... is there a way to do this?
if($('#umi-form')) {
var inputs = document.getElementsByTagName('input');
}
It can be done like this:
var $inputs = $('#umi-form input');