I don't know quite anything about JS so i need your help. I've just searched on internet but i didn't found anything about what i will ask you. I need to change an html tag and all it's content and i think that the best way to do this could be JS. For example:
I need that the tag
<p id="usernameText">My Username</p>
will be changed with this
<input type="text" name="uname" id="uname" placeholder="Inserire qui l\'username" style="width:100%">
with the click of an item so i think that i should use onclick="myfunction()"
, but i don't have any idea where to start with the JS code! There's someone who can help me please?