امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I implemented a toggle form, it works on desktop view but not in mobile view.
I can see the function working in mobile view however do not toggle the form.
Is there any special setup to run javascript in Xenforo mobile view?
Code:

Code:
Read more
I can see the function working in mobile view however do not toggle the form.
Is there any special setup to run javascript in Xenforo mobile view?
Code:
کد:
function toggleForm(event) {
var form = document.getElementById('search-form');
form.classList.toggle('hidden-form');
console.log(form.classList);
}

Code:
کد:
<div class="block-container">
<div onclick="toggleForm()"...
Read more
