JS: click on the button - we see in the alert what is entered in the search field. Don't use onclick attribute in code markup?
-
In HTML we have
<input id="search" class= "search" type="text"> <input id="butt" class="button" type="button" value="Найти">
how, without using oneclick, by clicking on the find button, call an alert with the text in the search.JavaScript Harper Sharp, Aug 31, 2020
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!