Here the code
$(document).ready(function() {
    $('#st').change(function(){
        var st = $('#st').val(); // start time Format: '9:00 PM'
        var et = $('#et').val(); // end time   Format: '11:00 AM' 
        //how do i compare time
            if(st > et)
            {
               alert('end time always greater then start time');
            }
    });
});
if i have time range as follows
Start Time Range (listbox) =   12:00 AM To 11:59PM
End Time Range  (listbox)  =   12:00 AM To 11:59PM
then how to validate start-time less then end-time OR end-time greater then start-time
Start-time < End-time  OR  End-time > St-time
consider time format in js-code, due to time-format am unable to implement difference logic
Format: '9:00 AM'
Format: '5:00 PM'
 
     
     
     
     
    