hi,
In Developer Tools you'll see that the Edit button calls this javascript function:
CoreInvoke("PageActionClick", this);
So on page load, you need to be call the function somehow, but the
second parameter cannot be "this" anymore, it needs to send the edit
button object as reference.
CoreInvoke("PageActionClick", $("ctl00_PageStateActionButton"));
Regards,