I have a page with multiple web parts.
Now I'm trying to move the "add new item" button on top of a webpart after the web part title.
I did this using jQuery, using the unique web part I want, but after the migration from 2007 into 2010 some of the web part ID changed.
So eg if the web part id is 5 in SP 2010, for some old pages it may be 6.
So I tried adding both 5 and 6, but then again this is not a solution as it moves the button on other web parts.