wrote ajax to make record question id sync with question selected in questions/answer