jQuery change input type

my solution:

    $('#myinput').clone().attr('type','tel').insertAfter('#myinput').prev().remove();

Leave a Comment