width in jquer code example Example 1: get page resolution jquery $( window ).width() Example 2: get width of div jquery $("#divId").width();