How to access the value of bubble element in javascript

thanks alot will try that now