I've created a custom input, and I can not make the autofocus work.
Follow the code:
$('.form_campos').on('focus blur', function(e) {
$(this).parents('.form-group').toggleClass('focused', (e.type === 'focus' || this.value.length &g...
asked by
29.02.2016 / 15:39