Monday, 3 July 2017

Bootstrap accordion only mobile & tablet



<script>
if(jquery_var(window).width() <= 768){
    jquery_var('#pan').addClass('panel');
    jquery_var('#pan-head').addClass('panel-heading');
    jquery_var('#pan-title').addClass('panel-title');
    jquery_var('#pan-click').addClass('pull-right clickable');
    jquery_var('#pan-body').addClass('panel-body panel-body-white');
}
</script>

Add & Remove Attribute
jquery_var("#Id").removeAttr("readonly");

No comments:

Post a Comment