Kwasi Denkyira

Kwasi Denkyira

  • 1.5k
  • 197
  • 15k

Add word-wrap to jquery td

Nov 17 2022 2:59 AM

I am creating an html dynamically and it working ok but some words needs to be wrap around but I can't figure how to get it working. Below is my a portion of my code. How do I make the td wrap?
 for (var i = 0; i < data.length; i++) {
var item = data[i];
target.append("<tr><td>" +
item.Id +
"</td><td>" +
item.LastNameName+
"</td><td>" +
item.FirstName +
"</td><td>" +
item.EmployeeNumber +
"</td><td>" +


 


Answers (1)