How to add custom button with onclick function

How to add custom button with onclick function

nazrin.shahnazrin.shah Posts: 1Questions: 1Answers: 0

Hi DataTables,

I want to add button inside my datatables. And when user click the button, it should open a pop up window. The function is placed during $(document).ready(function(){//codes});

How is the correct way to assign the function into the button and maybe you can give me a suitable example?

Thanks.

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    A forum search for "custom button" finds several answers.

  • F12MagicF12Magic Posts: 109Questions: 0Answers: 28

    Maybe something like this codepen can help you.

This discussion has been closed.