how to read html tag of <input type =text>

  •  02-27-2007, 2:31 PM

    how to read html tag of <input type =text>

    We are using cute editor latest version with .net2.0. I am dynamically adding the Html Text box by using the PasteHtml method with the editor content. After adding it, when the user select this, in the editor content, i have to read the html tag of the Text box. i.e <input type=text id="id1">. Is it possible through JavaAPI or serverside. I have tried with
     

    var editor = document.getElementById('CE_Editor1_ID');

    var content = editor.GetSelection();

    var selText=content.createRange();

    var selHtmlText=selText.htmlText;

    It shows as "undefined".
     
    Help me as soon as possible.
     
    Regards,
    Raja
View Complete Thread