How to pass data from html back to python file through an ajax script in order to render more data on the same page

Solution
    model_id = document.getElementById("id_options").value;
    model_id = $("#id_options").find("option:selected").val();