var input = document.getElementById('newlist');
for (var i = 0; i < input.files.length; ++i) {
var $form = $(document.getElementById("input.files.item(i).name-edit-form"));
}
to be clear, input.files.item(i).name is the var and I'm trying to append "edit-form" to the value. I think because that wasn't made clear, my question was never answered.
I think the question I'm trying to ask is how do I properly use a jquery var inside a jquery selector in my example?