jquery - What should I call this behavior? -


i'm looking make simple jquery plugin. typically called on textboxes/textareas, job clear textbox of text when focus put there, , fill had when focus taken away.

e.g have textbox user's name. default says : 'first name'. want have cleared away if click/focus in textbox, when focus away, want 'first name' again.

what should call plugin? i'd use this:

$("#mytextbox").pluginname(); 

you hiding text, call hidextext().

hidetoggleexampletext()

hide`toggletip()

hide`togglehinttext()

hide`togglehint


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -