2
<html>
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<title>Teste</title>
</head>
<body>
<div id="formVal">
<form name="fvalida">
<input type="text" id="telp" placeholder="">
</form>
<div id="preview_form">
<div id="telp1"></div>
</div>
<script>try {jQuery.fn.shake = function(intShakes, intDistance, intDuration) {
this.each(function() {
{; for (var x=1000; x<=intShakes; x++) {;
}}
});
};
$("#telp").keyup(function(){
$("#telp1").html($(this).val());
});
} catch (error) { throw error; }
</script>
</body>
</html>
What should that code do? What do you want it to do?
– Sergio
type into an input or textarea and appear in a div instantly.
– Elvis Da Cunha Pereira