Agrandir le champ (pas textarea)
Bonjour,
Je voudrais bien agrandir le champ, mais je voudrais que il agrandis par rapport son "height" après x caractère(qui sera ajouter par programmation) sans utiliser textarea. J'ai déjà essayé plusieurs choses, j'ai cherché partout sur le net sans trouver...
Merci bien pour votre aide!!!!!
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
$('input').textinput();
</script>
</body>
<input type="text" id="input" value="">
</html> |