I have this function, that takes the value of "count", prints it and save it in a variable
<input type="number" id="count" min="1" value="1" style="text-align:center"><br><br>
<script>
$('#count').bind('click keyup', function(){
alert($(this).val());
$hello = $(this).val();
});
</script>
and i want to take $hello and put it in a value in a input tag, something like this
<input name="x" type="hidden" value="//here would be $hello">
How can I do that?
Thanks.