is it possible to generate a random value (number, symbols, letters) for an input field (preferably hidden) on click?
I need to come up with an idea to simulate somewhat of a conformation number. Unfortunately I cant save the values into a db.
I thought of something like:
input before: <input id="randomizeme" value=""/>
javascript or jquery solution:
var randomtext=$('#randomizeme').attr('value');
anybutton.click(){
randomtext="some numbers randomly scrambled together";
}
input output:
<input id="randomizeme" value="some numbers randomly scrambled together"/>
this is probably all garbage but i hope it helps, as for the tags im not sure either
Something like:
Sample Output: