jquery - Countdown timer get values -
i playing around countdown timer. created input fields values , wrapped jquery in function called on button click.
inside function did this:
var d = document.getelementbyid('#day').value;
etc.
then in countdown time, instead of number added variable d day not work.
can tell me how have jquery pull in value user input?
here codepen code: http://codepen.io/bskousen/pen/jopveb
it should be
var d = document.getelementbyid('day').value;
or
var d = $('#day').val()
Comments
Post a Comment