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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -