Hi Exequiel I used both the methods suggested by you but unfortunately both are returning the same output as before.
This is my code.....
- if(windowWidth < 769) {
-
self.page.on("click",".addonUncheck",function(){
-
$('.singleAddon').attr('style','display: none !important');
-
});
-
self.page.on("click",".deleteAddon",function(){
-
$('#single_addon').show();
-
});
-
}
For desktop view the div is displayed as display: block using jquery now want to make it display: none only for mobile and tablet view... Any suggestions...