-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't get the choosed option's value #63
Comments
@Zhao233 Have you solved it? |
i think you are chinese,so,i anwser you with chinese,if you can't read it,please give me a reply。
然后再把这个组件的css文件加一个class: |
@Zhao233 嗯,你这样也可以。可以不用修改为.foucsed ,直接注释掉 mouseup事件就可以了。然后select通过.selected去取值选中的项就行了。 |
贼奇怪,,,,,我都是临时去写前端的,我都看不大懂他的库文件2333 |
English please |
A friend told me that you could remove the mouseup function,or replase it by mouseleave function in the jquery-editable-select.js (search this : EditableSelectUtility.prototype.initializeList = function () ) . Sometimes the mouseup function may uncaught by system |
他的目的仅仅是添加和删除'selected' class样式,在li中其实并没真正记录选择项,因为选项值已经被赋到input textbox里了。 |
This will help you.
|
Hi, I'm facing the same issue!! can anybody help please. |
Try my reply it worked for me |
i find sometimes i can't get the value of the option that have choosed( i use this way :$("ul").find("li[class$ =selected]")[0].value).After i choosed the option, the li tag that i choosed sometimes won't add the "selected" class
The text was updated successfully, but these errors were encountered: