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
Post a Comment