jquery - How keep tooltip when is clicked on EditorFor? -
i have
@html.editorfor(model => model.q1, new { htmlattributes = new { @class = "form-control",@title = "we ask age statistical purposes."} })
tooltip appears when hover on it. how make when clicked appear tooltip message hint , keep state until changes other editorfor ?
something http://blogs.planetcloud.co.uk/mygreatdiscovery/image.axd?picture=image_145.png
you need use javascript library custom behavior.
jquery ui has implementation http://jqueryui.com/tooltip/
edit
you looking when clicked shows ui. more popup or popover. bootstrap has nice implementation: http://getbootstrap.com/javascript/#popovers
Comments
Post a Comment