After Summer'15 release the html area home page components with java script is not going to work. So we are using visual force area component. I am trying to rename Save button in all standard page layouts to "Submit", using java script DOM.To get the element, we used "window.top.document.getElementsByName". Now this line is not working from VF page that is used in the Home Page Component(Visual Force Area). Please suggest Jquery/JS that will retrieve the element out side the VF page.
As per release notes: it is cleary mentioned :
Why do we still need to hack the Sidebar? Usecases - Workarounds - Alternatives
This one clearly provided 'alternative' which could help you to achieve what your're looking for:
But using window.top.document we can communicate with outer page from iframe right? It's happening from HtmlArea, but not from VF Page. Previously the HTML Area component is accepting to edit HTMl, but now it will accept only rich text, images. Not HTML. May 22, 2015 at 7:53
Thank you very much @Curious_techy. It's worked superbly. May 24, 2015 at 17:03