While clicking text field in the UI I need to display a random password in the text field.
<div class="form-group col-md-2">
<label>Username</label>
<input type="text" class="form-control" placeholder="Please Enter Details " name="username" id="username" value="<?php echo $value['id'] ?>">
<!--<input class="form-control" type="text" autocomplete="off" placeholder="Search here" onkeyup="drop_down(this.value);" name="val_text" id="val_text" onclick="drop_down_show('block');" onmouseout="drop_down_show('none');">-->
</div>
<div class="form-group col-md-2">
<label>Password</label>
<input type="text" class="form-control" onblur="randomPassword()" readonly="" name="password" id="password" value="<?php echo $value['password']?>">
</div>