Result (data
) looks like this:
<tr>
<td>
Something...
</td>
</tr>
<div id="paging">1, 2, 3... </div>
This is ajax
...
dataType: "html",
success: function(data) {
parse data...
$('#myDiv1').html(data1);
$('#myDiv2').html(data2);
}
...
Is it possible to parse data
so that data1
contains table row(s) and data2
contains div#paging
content?
Thanks in advance,
Ilija