Hello all,
I have a HTML page that is generated by JavaScript (JQuery). It makes use of JQGrid. This is the source of the page.
I attempt to change one of the widths and check its width like so:
var width = window.screen.availWidth; //1280
$('#gbox_grid').css('width', width);
alert($('#gbox_grid').width()); //alerts a null
But the alert returns a null? The ID is correct and the element is there (via Firbug). I have done this inside document ready as well.
Thanks all for any help.