0

Currently my cursor is displaying as an arrow when hovered. How to change the cursor to a pointer when hovered for both icons as in the image below?

The code for css: style='cursor:pointer' in my span tag is not working.

enter image description here

$("#actionTable").DataTable({
  columns: [{
    "data": "filename",
    "className": "text-center",
    render: function(data) {
      return "<span title='view' onclick='view_file(&quot;" + data + "&quot;)'><img src='images/view_file.png' style='cursor:pointer'></span><span title='delete' onclick='delete_file(&quot;" + data + "&quot;)'><img src='images/bin.png' style='cursor:pointer'></span>";
    }
  }],
});
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
mastersuse
  • 936
  • 1
  • 15
  • 35

0 Answers0