Video Current time giving undefined
问题 Hello I have dynamic videos which I tried to get the current video time but I seem to be getting undefined which i don't know why. I fire a function using on time update javascript event, however when i alert this var ok=$(e).attr('id'); i get the videos id but i dont know why when i try to get video current time i get undefined as value, these is my code dont know where i am getting it wrong. <script type='text/javascript'> function men(e){ var ok = $(e).attr('id'); var ol = $(e).attr('id');