samedi 14 mars 2015

How to make a random input appear in jQuery?

I'm developing a website, and wanted to make a few input fields, and if you press the button one of the inputs will show up (.innerHTML). Here's the HTML, but I don't know the jQuery and searched the internet, but couldn't find anyrhing usefull...



<!doctype html>
<html>
<body>
<input type="text" class="input" placeholder="Enter a word">

<input type="text" class="input" placeholder="Enter a word">
<input type="text" class="input" placeholder="Enter a word">
<input type="button" value="Go!">
</body>
</html>


Thanks for helping me out!





Aucun commentaire:

Enregistrer un commentaire