[NEW!] Used HTML input elements with ids to provide input to AJAX using jQuery's way of accessing DOM elements.