How can I set a tooltip to field controls in edit mode?

For instance when a user edit a article, hovering over TextField (or the title of the field) a tooltip with custom text will show.
It would also be nice to fetch this text from resources.


You can use the TITLE html attribute for browser-standard tooltips or javascript solutions like jQuery plugins. As a matter of fact, jQuery itself would be helpful for setting the titles of appropriate html elements as well.

  • Yeah I see how this would work. But how well does it work with resoures? – eirikb Jul 29 '10 at 8:33
  • The best way seems to be to first set ID on the field control, then do something like this in jQuery, for Title: $(".ms-formfieldcontainer:has(input[id*=_Title_ctl00])").attr("title", "ToolTip goes here"); Then I get the whole div. Still need to figure out how to feetch from resoruces though – eirikb Jul 29 '10 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.