this looks fine, must be something else css or script related. Perhaps you could create a test page at jsbin.com, it has an option to include jquery and therefore present live issues

AMP wrote:
Hello,
When I click on the either button, the size changes correctly, but
goes right back to the default.
What am I doing wrong?


$(document).ready(function() {

$('#small').click( function() {

    $("#textsize").addClass("smalltext")
});
$('#large').click( function() {

     $("#textsize").addClass("largetext")
});
});

Thanks

  

Reply via email to