I have used this function to fetch some data with help of XMLHttpRequest()
function fetchTab1(id) {
    var xhttp;
    xhttp = new XMLHttpRequest();
    xhttp.onreadystatechange = function() {
        if (this.readyState == 4 && this.status == 200) {
            document.getElementById("table_data_1").innerHTML = this.responseText;
        }
    };
    
    xhttp.open("GET", "visit_fetch1.php?id=" + id, true);
    xhttp.send();
}
var id = document.getElementById('member_uniq_id').value;
fetchTab1(id);If the html data I am getting from response text contains a html form, can I submit it?
 
    