+ 1
How can I do this?
I want the lavender colored box to display the number of messages sent. How can I do this? https://code.sololearn.com/W6FzjdDBufIB/?ref=app
2 Answers
+ 2
Add this...
var count = $("#mylist").children().length;
$("p>span").text(count);
Please note that your web board and info box are placed on wrong place, must be inside body tag.
+ 2
Thanks