What's the easiest way to get all input fields inside a div without using a javascript library like jQuery? Similar to this jQuery snippet:
var inputs = $('#mydiv :input');
document.getElementById('mydiv').getElementsByTagName('input')