Reputation: 597
When the submit is pressed I want to alert the value of the switch, however it is not working as planned
jsFiddle
JS
$('#newevent1info').submit(function (event) {
var val = $('#newevent1').slider().value;
alert(val);
}
ALSO for some reason its creating a slider in my header:
Upvotes: 0
Views: 1514