Skip to content Skip to sidebar Skip to footer

Bootstrap-editable: Datepicker Is Not Working

When I click in the table in column link, I open the dialog of bootstrap-editable. My call is: $('TABLE TD A').editable({ type: 'date', name: 'test', pk: $(this).at

Solution 1:

I think you're just missing a quote on the end of

'Cambiar'

$('TABLE TD A').editable({
     type: 'date',
     name: 'test',
     pk: $(this).attr("pk"),
     format: 'dd/mm/yyyy',
     url: '/post',
     title: 'Cambiar' 
});

//ajax emulation
$.mockjax({
    url: '/post',
    responseTime: 200
}); 

http://jsfiddle.net/snlacks/dxavLrbh/2/

Solution 2:

yes cambiar was an error but it isnt the answer

in js I should change the template and in the table I set layout:fixed and I set the width

'<tableclass="table-condensed"style="width: 80px; padding-right: 15px !Important;table-layout: fixed;">'

Now it is working

Thanks

Post a Comment for "Bootstrap-editable: Datepicker Is Not Working"