2 Solved Topics

Remove Filter
Member Avatar for r4ds

Hello. It is something very simple for someone who knows javascript. How to capture the text content of the pressed element? Important is that the page is built with PHP. <li><a onclick='cat();' href='#'>Text 1</a></li> <li><a onclick='cat();' href='#'>Text 2</a></li> <!-- Above PHP, important: text content element is dinamic--> <script> function cat() …

Member Avatar for r4ds
0
176
Member Avatar for r4ds

Hi. I would be very grateful if you could help me solve two things that I don't know how to do (or that have still come out). 1. How can I center the button (btn1) in the second div (center in the white box), without using "px" but using only …

Member Avatar for r4ds
0
199

The End.