This will happen when you don't change the name of class in script but donot change it in the HTML SPAN, thus it is not able to find the table cell and replace the record.
In your case you have not given any class to the HTML SPANs and hence jQuery is not able to find and replace data.
I request new comers like you to spend time learning as ASP.Net is not fast food that you can eat directly it is half cooked while somethings you need to cook in your mind i.e. understand and then implemented