jquery ui spinner strings -


can suggest analog of spinner jquery ui, has ability display strings instead of specific values? in example have 2 widgets, spinner , select, select shows string "foobar" when values -1, want use spinner not bound values ones list. http://jsfiddle.net/andrewboltachev/qk6bn/

i want actual plugin have options these:

$('#myspinner').spinner({     'min': -1,     'values_to_text': function(x) {         if (x === -1) return 'foobar';         return x;     } }); 


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -