I have style css cur_font class I want to change font-family to 'arial' by jquery and also new font affected on class selectors html,body,h2,h1,div,td
    <style>
    .cur_font html,body,h2,h1,div,td { font-family:'tahoma'; }
    </style>
    <script>
        $(".change_font").on("click", function (e) {
            var font='arial';
            $("style.cur_font").css("font-family",font);
        });
    </script>
trying to change font-family attribute for class cur_font using jquery
 
    