I am attempting to use some DOM manipulation to change list column names on a list Display view.
However when I use Jquery to create the array I get a null value. My test site has the Dialogs setting at No on the list while the Production site has it set to Yes so I am guessing this is what is causing the issue with $('.ms-standardheader'); returning a null value on the production site when I try it in the console window.
On the test site this works without fail, I get my array, and I can do what I need to do.
When I change the Production site to No dialog and run $('.ms-standardheader') in the console I get my array. Perfect! Just what I want.
So, I am pretty sure I know what the issue is but how do I get around the dialog box so my $('.ms-standardheader'); returns the array it is supposed to return?
Is this some issue related to focus or something?
Thanks.

