Français Portgués (Brasil) This site uses Akismet to reduce spam. Leçon 2 : Qu'est-ce que HTML ?

I think for larger tables this has huge performance implications vs just tagging each element with the same function. rev 2020.10.1.37720. Use your mouse to click and double click the red square, Communauté en ligne pour les développeurs, CSS fade out règle horizontale / ligne div style sans images, obtenir les valeurs vérifiées pour jsTree - soumettre avec le formulaire. Making statements based on opinion; back them up with references or personal experience. If needed you can separate the table into thead, tbody tfoot and add the onclick event to the tbody only. By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. How do I detect a click outside an element? By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy. Leçon 5 : Ce que vous avez appris jusqu'ici ? Instead of having a 10 x 10 table = 100 event you will have only 1. Reply. i have a table with 50 cells with difrent id's and i have an other table with predefined values in them i need to send the value of the second table cells to the first table cells with onclick. Deutsch Execute a JavaScript when a button is clicked: