$("input[name='leaveDateArrayModel.timeFrom']");== document.getElementByName("leaveDateArrayModel.timeFrom");