Title
$(document).ready(function(){
times = new Date();
var audios = document.getElementById('input-audio');
var my_days= (times.getYear() - 100)+'-'+(times.getMonth()+1)+'-' + times.getDate();
var hour = audios.duration/60;
hour = Math.floor(hour);
var calcul = 60* hour;
var minu = audios.duration - calcul;
minu = Math.floor(minu);
if(minu <= 10){
minu = '0' + minu;
}
var dur = hour +":" + minu;
alert(dur);
});
how to get Button id in JavaScript ? (309) | 2019.01.03 |
---|---|
how to style property change in js ? (0) | 2019.01.03 |
how to use Iframe / change src in iframe? (0) | 2019.01.03 |
how to button property disable change in javascript or jqury (0) | 2018.12.27 |
youtube auto play Code (0) | 2018.10.26 |
Java Script Basic (java_tutorial) (0) | 2017.12.29 |