Question: one div and i check to the div width in jquery and same width i define in next div but width not apear in my div please help me 

**my code is this** 

```
$(document).ready(function(){
  var widthRP = $('.jsPanelWidth').width();
  $(window).load(function(){
    $('.jsRgtPnl').css("width":"widthRP"+"px");
  })
});

```

Answer: 
use `$('.jsRgtPnl').css("width", widthRP+"px");` instead of `$('.jsRgtPnl').css("width":"widthRP"+"px");`
Remove the double codes from widthRP in load function because its a variable and you are using it as string and use , instead of :. Hope this will help you.