Thanks Niphlod, It works! The only little glitch is that the calendar pop far from the input field but I don't mine as long as it appears.
Richard On Fri, Nov 16, 2012 at 5:14 PM, Niphlod <niph...@gmail.com> wrote: > have you inspected where it goes on error ? My bet would be on the > calendar setup ... seems that you're trying to bind a click on an element > to trigger the "parent" to show the calendar. But the calendar is > supposedly yet present on the input field. If so, why don't you just use > live ? > e.g. > > jQuery('.icon-calendar').on('click', function() > {$(this).parent().prev().trigger("onclick");}) > > PS: you are not using bootstrap features embedded in bootstrap.js, just > some classes to add icon classes around. > > -- > > > > --