how to extract the selected value from a dropdown list with Thymeleaf

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to extract the selected value from a dropdown list with Thymeleaf

hendah
Hello,
how to extract the selected value from a dropdown list with Thymeleaf and make a test on that selected value

Example: the values to select are :

                value 1
                value 2
                value 3
                ...

if the selected value  is "value 2"  show a popup else do  not show anything

Thanks for any help
Loading...