⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to create on event on click in element of table?



jkvarela

jkvarela
  • profile picture
  • Member

Posted 25 June 2017 - 14:44 PM

Hi;

 

I´m am newbie in the grocery, I would like to create one event or one listener for the line of table, when I click on line of table I need to redirect to another page. Someone can help-me?

 

Thanks;

 

Juliano


xheradon

xheradon
  • profile picture
  • Member

Posted 26 June 2017 - 06:45 AM

You can use jQuery and .wrap() function in each table row.