Loading ...
Sorry, an error occurred while loading the content.

Dynamic update of select button content in YUI editor

Expand Messages
  • alain
    I have 2 select buttons in the RTE. Depending on the selected content on the first button, I want to update the choices in the second button. Is it possible to
    Message 1 of 2 , Nov 30, 2008
    • 0 Attachment
      I have 2 select buttons in the RTE. Depending on the selected content on
      the first button, I want to update the choices in the second button. Is
      it possible to do that after the editor is render or should I redraw the
      all thing?
    • Dav Glass
      alain -- You can use the checkValue method on the button: http://developer.yahoo.com/yui/docs/YAHOO.widget.ToolbarButtonAdvanced.html#method_checkValue Does
      Message 2 of 2 , Nov 30, 2008
      • 0 Attachment
        alain --

        You can use the checkValue method on the button:
        http://developer.yahoo.com/yui/docs/YAHOO.widget.ToolbarButtonAdvanced.html#method_checkValue

        Does that help?
        Dav

        --
        Dav Glass
        davglass@...
        blog.davglass.com


        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
           without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
          McDonalds Certified Food Specialist is to fine cuisine  +


        On Sun, Nov 30, 2008 at 10:27 AM, alain <alain@...> wrote:

        I have 2 select buttons in the RTE. Depending on the selected content on
        the first button, I want to update the choices in the second button. Is
        it possible to do that after the editor is render or should I redraw the
        all thing?


      Your message has been successfully submitted and would be delivered to recipients shortly.