-
-
Save Barmunksu/7fedec7c94c8357989b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input id="name" type="text" name="name" /><br> | |
<input id="age" type="text" name="name" /><br> | |
<input id="sity" type="text" name="name" /><br> | |
<input id="country" type="text" name="name" /><br> | |
<select id="sample"> | |
<option value="0">New First Option</option> | |
<option value="1">Option 1</option> | |
<option value="2">Option 2</option> | |
<option value="3">Option 3</option> | |
<option value="4">New Last Option</option> | |
</select><br> | |
<a href="#" onClick="samovivoz();">ссылка</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VLPVXN | |
('-' * 6) | |
A [Pen](http://codepen.io/anon/pen/VLPVXN) by [Captain Anonymous](http://codepen.io/anon) on [CodePen](http://codepen.io/). | |
[License](http://codepen.io/anon/pen/VLPVXN/license). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function samovivoz() | |
{ | |
document.getElementById('name').value = 'John'; | |
document.getElementById('age').value = '20'; | |
document.getElementById('sity').value = 'moscow'; | |
document.getElementById('country').value = 'Russia'; | |
document.getElementById('sample').value='3'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment