outerHeight and outerWidth return 0 after call ajax
I am using
fixedheadertable to create tables scrollable
The number of rows are variable, i'm using outerHeight and outerWidth to get the size og table
I call it with
jQuery(document).ready(function() {
jQuery('#TABLE_1').fixedHeaderTable({parametri});
});
On load of page is all ok
But if i replace div contect with ajax outerHeight and outerWidth return 0
:
I'm using
jQuery.ajax({
url: callFile,
type: 'POST',
async: false,
data: sendVar,
dataType: 'html'
}).done(function(htm){
jQuery("#"+element).html(html);
}
}).fail(function(){
alert('Error Ajax');
}).complete(function(){
jQuery('#TABLE_1').fixedHeaderTable({parametri});
})
How can I fix the problem!!!!
Please help me!!!