I believe this can be written something like $('button', this).width(mw); but not sure