...
HTML |
---|
<script> function changeLabel(formName, formId) { if (isPageViewMode()) { AJS.$(formName).find('#i.i_holdingrow_fld').find('#i_labelfor_fld').html('Text for checked change field'); } } function isPageViewMode() { return AJS.$('#wysiwygTextarea_ifr').length === 0; } </script> |