Jquery Ajax data prints HTML code
<p>I have below function to assign data for my HTML text fields.</p>

<p>Alert by the data is like <code>10,12, &lt;!DOCTYPE HTML</code> further HTML code. I want to remove this HTML code please help me. </p>

<p>My code;</p>

<pre><code>    function load1(){
    $.ajax({
        type: "POST",
        url:'&lt;?php echo site_url('home/settings_screen); ?&gt;',
        data:{test:'1'},
        success: function(data){
                window.alert(data); 
                var split_value = data.split(",");
                $("#older").val(split_value[0]);
                $("#younger").val(split_value[1]);

        });
    }
</code></pre>