문제

It is very easy with links and images. One could just specify title="Something" to get a nice tooltip over an element. But somehow I don't see any convenient way to do the same to a button. Seems like HTML itself miss this option at the first place.

But maybe there is at least a handy workaround for that?

도움이 되었습니까?

해결책

Jesse Gumm from nitrogenweb googlegroup shared a nice way to do this

#button{text="Submit",postback=whatever,actions="obj('me').title=\"Some title\""}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top