I am working on http://gamercity.info/ymusic/.
And I am using UI slider as seek bar.
While the video is played I want to invoke a seekTo(seconds)
function if user clicked anywhere on the seek bar. How to get new value of seconds
after click event?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
I checked all the answers mentioned above, but found none useful as the following code:
Tested with jQuery v2.1.1 and jQuery-ui v1.12.1
You can pass the value to any function or set any element with the value:
Late to the party but this question has still unanswered.
Below example will show you how to get value on change in an input field to save in DB: