Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Dynamic menu text #9189


User avatar
0
ignasiclos created

I need to change the text of a menu dynamically base on the result of a backend request.

Any idea? Thanks


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    You can do it in alot of way. One of them:

    You may select menu item by it's href and change it's text. You can do something like that.

    $("a[href=YOURHREF]").find(".kt-menu__link-text").text("YOURNEWTEXT")