Skip to content
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

selectType.VAL 貌似存在问题 #8

Open
wysnxzm opened this issue Jan 19, 2018 · 1 comment
Open

selectType.VAL 貌似存在问题 #8

wysnxzm opened this issue Jan 19, 2018 · 1 comment

Comments

@wysnxzm
Copy link

wysnxzm commented Jan 19, 2018

无法读取到下拉选择框的当前选择项,在浏览器Console可以获取

@xuxueli
Copy link
Owner

xuxueli commented Oct 15, 2018

你好,可以使用dom方式获取,比如如下方式:

ele.select("#bizId [selected]").val();        // 获取选中项的值
ele.select("#bizId [selected]").text();      // 获取选中项的显示内容

@wysnxzm wysnxzm changed the title selectType.VAL 貌似存在问题 -----徐志摩 selectType.VAL 貌似存在问题 Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants