I've got an input which it's type is set to hidden, I need to change it's type to text. Can't seem to figure this out or if it's possible with jQuery
With jQuery 1.4 you can change the type of an input while it's detached.
marker = $('<span />').insertBefore('#myInput'); $('#myInput').detach().attr('type', 'text').insertAfter(marker); marker.remove();
1.4m articles
1.4m replys
5 comments
57.0k users