I am trying to create a custom tag which insert two tags, "Label" and "Input" control, to the current position. In addition, if the current position is inside a table row, the tags should be inserted into different <TD> tags.
I could use the following to insert just one tag into the current position
var newField = oDOM.createElement("TestField");
oActiveEl = oEditor.FCK.InsertElement( newField ) ;
How do I get the mostly close by <TD> tag and insert the other control there?
I could use the following to insert just one tag into the current position
var newField = oDOM.createElement("TestField");
oActiveEl = oEditor.FCK.InsertElement( newField ) ;
How do I get the mostly close by <TD> tag and insert the other control there?