امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I've got an add-on that is utilizing JS to count characters in a text input form, so I can display the remaining characters.
Here is the full JS:
JavaScript:
Read more
Here is the full JS:
JavaScript:
کد:
((window, document) =>
{
XF.MyAddonCharCount = XF.Element.newHandler({
textInput: null,
maxLength: null,
charCount: null,
init ()
{
const textInput = this.target
const charCount = textInput.parentElement.querySelector('div.formRow-explain span')...
Read more
