Hi,
I'm trying to make a function where a user input in a form changes the length of a string. I would do it this way in PHP:
I want to do it in JS so that my forms are client side. Any Help??
I'm trying to make a function where a user input in a form changes the length of a string. I would do it this way in PHP:
Code:
<?
$width = $_POST['length'];
.
.
.
.?>
<form>
<input name ="width" type="text" value="<? echo $length; ?>">
</form>