Load up javascript files after ajax call
<p>Hi how do i go about loading up my javascript files after an ajax call has been made, reason being it seems once i click submit, some javascript functions do not end up working. I tried using "$getscript" however it was a bit buggy especially in google chrome? This is what my call looks like;</p>

<pre><code>function InsertStatus() {
    var fStatus1 = document.getElementById('&lt;%=txtStatus.ClientID %&gt;').value;

    $.ajax({
        type: "POST",
        url: "WebServices/UserList.asmx/InsertUserStatus",
        data: "{ 'fStatus': '" + fStatus1 + "' }",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (data) {
            if (data.d == "Successful") {
                $("#col-3").load(location.href + " #col-3&gt;*", "");
                $.getScript('scripts/script.js', function () {
                });
            }
            else {
                alert("its false");
                $.getScript('scripts/script.js', function () {
                });
            }
        }
    });
};
</code></pre>
