Js problem

how to give the tooltip text in my application?
i use js for that but it can’t work
so what to do?