Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Let me just open that up a little bit and scroll down so you can see what's going on. Now we're going to define the function that I've called Print Value, that will set up a couple of variables to get the ID of the slider, as well as the one from the text field. And once we have that, we'll be able to set one value to the other. So we start with a function and as I said, I'm going to call this printValue.
The first is slider and then the second is range value. Finally, let's insert an onchange event to the range control itself. So let's go back up to line 67 and I'm going to add an attribute right towards the end here, of onchange = and then we'll put in our function name which is printValue, and pass it in the two arguments. The first argument is the ID slider and the second argument is the ID for the textbox, which is range value.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.