Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

if the page is opened so count and put it to the value of hidden input

html {
  font-family: sans-serif;
}

form {
  width: 500px;
}

div {
  display: flex;
  margin-bottom: 10px;
}

label {
  flex: 2;
  line-height: 2;
  text-align: right;
  padding-right: 20px;
}

input, textarea {
  flex: 7;
  font-family: sans-serif;
  font-size: 1.1rem;
  padding: 5px;
}

textarea {
  height: 60px;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #page #opened #count #put #hidden #input
ADD COMMENT
Topic
Name
1+1 =