When I select any category, I want its name to be displayed above in the selected section How can I do it with ajax, without refreshing the page?
Answer 1, authority 100%
click– click event on (repair, painting).
val– get the value from the clicked element.
toggle– show-hide, you can set slow and it will move slowly (beautifully) and also disappear if you remove it.