Good evening, on my site there is a list of basketball camps. It is dynamic and is populated via a database. In the latter I have set a boolean “availability” attribute which, if set to true, indicates that the field is available, otherwise not available. The word “available” or “not available” compares within each element of the dynamic list. How is it possible from javascript to insert this result in this text field once compared with the availability flag?
I tried with this code, but having the same ID in each article, the text always takes the same value.
