javascript - Changing width of an input whilst using a plugin? -


i using plugin called pickadate.js , want able change width of input depending on date select example.

enter image description here

i trying use this function 'onclose' change width of input having no success.

$('.datepicker').pickadate({   formatsubmit: 'yyyy-mm-dd',     onclose: function() {       var dateformat = $('.date').val();       $('.datespan').text(dateformat);     }, }); 

this should have no spacing on right if select date 10 may, 2016 not change width of input in.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -