can't get new values from drop down lists

can't get new values from drop down lists

I'm having issues trying to get values back from a drop down that's in my table.

i have a button that alerts whatever the value is selected in the dropdown however it will only alert the initial value. so if i have a drop down with

test 1
test 2
test 3

and test 2 is selected on load

if I change the drop down to test 3 and then click the button it should alert test 3 but currently it will only alert test 2 as that is what the table loaded with originally.

if i build a generic html table and use a dropdown list it works fine. but if i use datatables it doesn't work.

Thanks
Adam

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi @adam_y2005@hotmail.com ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.