grueling jquery writing process for clicking on stuff and making stuff that happens after clicks on stuff

This commit is contained in:
ablwr 2014-08-03 20:41:06 -04:00
parent aafd97f3c0
commit f34e7f9596

View File

@ -1,12 +1,7 @@
$(document).ready(function() {
var $question = $('.question'),
$nextQ = $('.next-question');
$question.hide();
$question.first().show();
$nextQ.click(function() {
$question.next().slideDown("slow");
$('#generate').click(function(){
$('#command_line').val("ffmpeg " + $('#input_name').val() + " " + $('#output_name').val())
});
});
});