Try
$("#scrollStats").html("im here!!"); Bhaarat Sharma wrote:
Hi Can someone please tell me how i can change the text between span tags on the fly using jQuery I have tag like this <span id="scrollStats" style="font-size: 70%; width: 80px; text- align: center; position: absolute; bottom: 392px; left: 15px;"></span> i have tried these but none seem to work $("#scrollStats").val("im here!!"); $("#scrollStats").setText("works?"); Thanks!