jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree val() problem

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • val() problem #71312

    yuanru
    Participant

    Hi,

    The demo (http://jsfiddle.net/jqwidgets/XGUrU/) shows how to use val() to get/set element’s value.
    But when I click the [select Government] button in the JSFIDDLE demo page, the item’s label is not changed. I’m wondering whether it is a bug or I haven’t understood this function.

    Thanks!

    val() problem #71333

    ivailo
    Participant

    Hi yuanru,

    If you want to change the the label of some item – use updateItem.
    Look at this demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.