<PublishingWebControls:EditModePanel ID="EditModePanel1" runat="server" CssClass="edit-mode-panel title-edit">
<div id="NBSBranchAccountName">
<SharePointWebControls:TextField ID="BranchAccountName" runat="server" FieldName="NBSBranchAccountName"/>
</div>
</PublishingWebControls:EditModePanel>
I have this text field which is only displayable in editmode. How can I get the value of the form in publish mode in javascript as the normal jQuery.trim(jQuery('#NBSBranchAccountName').val());
won't work