I'm trying to figure out how I'd add a contains to check that the responseText coming back in the callback of a jQuery .load() contains a certain string of text:
$("#ordersList").load("OrderHandler.ashx?action=" + action, function(responseText, textStatus, XMLHttpRequest)
{
if(responseText)
{
// do something
return;
}
});
so if responseText contains a certain string anywhere in the response that was sent back from the server I can perform appropriate processing in my callback function here.