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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -