Topic: Get value from mdb select

coba free asked 4 years ago


Get the selected value from material select, I have do $('#select-test').val() but nothing returned


Tomek Makowski staff answered 4 years ago


hi

You just have to use $("#select-test").text();

Best, Tomek



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No