wiqar / jquery-timepicker

Automatically exported from code.google.com/p/jquery-timepicker
0 stars 0 forks source link

the picker can't run with <input> with no id tag #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's be fixed to :

$('select.h timepicker').change(function(){

$(this).prev().val($(this).val()+":"+$(this).next().val());
                });
$('select.m timepicker').change(function(){

$(this).prev().prev().val($(this).prev().val()+":"+$(this).val());
                });

so we don't need to use id to find the elements.

Original issue reported on code.google.com by spirn...@gmail.com on 14 Aug 2007 at 10:18