get current Page Layout in sharepoint 2010 using ECMA script
<p>I have a requirement that I need to create a custom page layout and need to update the current page layout with my custom page layout. In SharePoint we have a feature to change the page layout.</p>

<p>But I have to change that page layout using my custom control in SharePoint ribbon. So I need to access current page_layout and current page_layout controls.</p>

<p>Any one plese help me on this?</p>
