$.ajax({ url: params,
error:
function(XMLHttpRequest, textStatus, errorThrown){alert(textStatus)},success:
function(html){endDiv = html.indexOf(
'/div>')+5;html = html.substring(endDiv, 100000);
html = $.trim(html);
//
alert(html.length);id =
'Edit Mapping';oDetail.html(html);
oDetail.dialog(
'option', 'title', id);oDetail.dialog(
'open');},
data:{},
dataType:
'html',timeout: 5000
});