Re: V6 Error fetching event.command text

  •  05-07-2007, 11:01 AM

    Re: V6 Error fetching event.command text

    Sorry, I don't understand. That doesn't seem to do anything.
     
    In our .aspx.vb codebehind, we added:
     
    Editor1.Attributes("oncommand") = "HandleEditorCommand(this)"
    Then, in HTML script, we added:
     
    function HandleEditorCommand(editor) {
    var sCmd;
    try { sCmd=event.command.toLowerCase(); }
    catch (error) { alert("Error getting cmd: " + error.message); } try { if (sCmd=="tabview")
     
    etc.
     
    We need to capture the command's text value in javascript and I don't see how your suggestion does that.
     
    Fred
     
View Complete Thread