how to change the width using jquery code example Example 1: jquery get element width $('#element').width(); Example 2: jquery set width $(".example").width("px");