0.0.133 add counter for feedback
This commit is contained in:
@@ -757,10 +757,10 @@ function RequestCommercialOffer (el){
|
||||
|
||||
|
||||
function counterText(evt) {
|
||||
const ta = document.querySelector('.feedback_form_message')
|
||||
const counter = document.querySelector('.counter-text__current')
|
||||
const text_l = evt.target.value.length
|
||||
counter.innerText = text_l
|
||||
const counter = document.querySelector('.counter-text__current');
|
||||
const maxlength = 360;
|
||||
counter.textContent = evt.value.length;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user