How to implement the Footnote function in a text box?

Are you thinking of something like a 'tooltip'? Here's a few examples of that:

If that's not what you're thinking, can you post an example of what you're trying to achieve?