Total JS noob here. I have the following line that implements jQuery Slider:
<script type="text/javascript">
$(document).ready(function () {
$("#wheelLeft").slider({
orientation: 'vertical', value: 37,
min: -100, max: 100,
slide: function (event, ui) { $("#lblInfo").text("left"); } });
});
</script>
Mostly in an event slide, #lblInfogets its text in left. It works great. However, I would like to convert a built-in anonymous function that processes the slide event into a regular function.
Can anyone help?
source
share