Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

troubles with jquery on mobile

I have this code:
$(".trem").click(function(){
var showSlide = $(this).attr("id");
if (showSlide == "mur_tm") {
$("#mur_hm").slideToggle(1000);
}
});
It works fine on desktop, but don't work on mobile. The showSlide variable it's correct (I check it both with an alert and with console.log), but the slideToggle don't work. The inspector don't retrieve any error.
So, which can be the problem? And how I can solve it?
Thanks for help

from JavaScript https://ift.tt/32GntdW
via IFTTT

Post a Comment

0 Comments