how to remove last character inside of table header using javascript/ajax?
Example table
Product | Price X |
---|---|
First | 1000 |
Second | 2000 |
what i want to reach is remove the X on Price X column header with some button, I’ve use slice before but not working.
how i supposed to do?
Thanks