tanzia.khan.71 0 Newbie Poster

I am trying to make a dynamic data table . I need row will add dynamically in table and only latest four row show in table . I don't need to show all data in table.

here is my code to show dynamic row:
$('#history').append('<tr><td>'+labordate+'</br>'+ formattedStart+'</td><td>'+formattedEnd+'</td><td>'+lengthFormatted+'</td><td>'+timeBetweenFormatted+'</td></tr>')

Thanks for any help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.