javascript - Jquery: Best way to pop-up a selection div -


greetings,

assume have such hidden div:

<div id="option-dialog" style="display:none;"> <a href="#" value="1">first</a> <a href="#" value"2">second</a> </div> 

and have text input field:

<input type="text" id="myinput" /> 

when myinput field clicked mouse, want hidden div appear close selected input field , once user selects link div, div dissapears , value selected becomes value of text input field. how achieve this?

i use jquery , jquery ui

regards

you can use cluetip this.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -