avoid temp id's for all elements. add <button> based button(input based is now #submit{})