Wrap object tag into another div

Wrap object tag into another div

I've trying this code:

  1. $("object").wrap('<div class="container" />');

but have no result. Any ideas?