I am trying to apply width for my divisions using jquery. The following code is working fine for me.
$('#bodycontainer').css('width','300px');
$('#footer').css('width','300px');
But when combine both id's and keep it as a single rule is not working. see below.
$('#bodycontainer','#footer').css('width','300px');
What i am doing wrong here??