Each Click I want to increase the font size using jquery

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-03-22T17:40:42Z Indexed on 2010/03/22 17:51 UTC
Read the original article Hit count: 208

Filed under:

Hello, For each click I want to increase the font size.

$('#fontplus').each(function('click') {
    var fs = $('#bod').css('font-size');
    $('#bod').css('font-size',fs+1);

});

<div id="fontplus">+</div>

Thanks Jean

© Stack Overflow or respective owner

Related posts about jQuery