Re: Undefined JS variables when loading dialogs

  •  03-25-2011, 11:59 AM

    Re: Undefined JS variables when loading dialogs

    I get v_parentform not defined on this line :

       editdoc.body.innerHTML = v_parentform.elements[v_field].value;

    in:

    function getparentdata()
    {
    var editor1=document.getElementById('CE_Editor1_ID');
    var editdoc = editor1.GetDocument();
    editdoc.body.innerHTML = v_parentform.elements[v_field].value;
    }
View Complete Thread