﻿

/* Function to update Capabilities */
function UpdateListing(strFormValue,id,strLeadText,SectionID){
    if(strFormValue!=""){
        var strURL = '/remote/CapabilitiesList.aspx?id=' + id + '&sort=' + strFormValue + '&leadText=' + strLeadText + '&section=' + SectionID;
        new Ajax.Request(strURL, {
			        onSuccess: function(transport) {
			            $("List" + id).update(transport.responseText);
		  	        },
			        onFailure: function(transport) {
                        alert("ERROR")					
        	
		  	        }		  	
		        });
    }
}
