Dynamicly show/hide div which has value the same as button
In a loop I add dynamicly in php button and div which is hidden by css
- echo "<input type=\"submit\" value=\"$entry\" class=\"button\">";
- echo "<p id=\"mydiv\" value=\"$entry\"></p>";
i want to show/hide only this div which has the same value as button.