I am not getting how can I update progress bar. Here is my code,
socket.on('value',function(data){
console.log(data); // For example, this prints value '10'
// Here i have to update progress bar.
}
I want to divide value by 10, equally and adjust the progress width to 100%. Can anyone help me doing this? Is it possible? I am new to this concept. Please help me solving this.